old_contents:
@0xc020c6481d06e29b;

interface Editor {
    # An editor.

    insert @0 (line: UInt64, column: UInt64, string: Text);
    # Inserts `string` at [`line`][`column`] of the file.

    writeFile @1 (path: Text);
    # Writes the contents of this editor to the file specified by path.

    quit @2 ();
    # Quits this editor.
}

new_contents:
@0xc020c6481d06e29b;

interface Editor {
    # An editor.

    openFile @0 (path: Text);
    # Opens `path` for editing. If `path` does not exist, it is created.

    writeFile @1 (path: Text);
    # Writes the contents of this editor to the file specified by path.

    insert @2 (line: UInt64, column: UInt64, string: Text);
    # Inserts `string` at [`line`][`column`] of the file.

    delete @3 (line: UInt64, column: UInt64, length: UInt64);
    # Delete the string at [`line`][`column`] with `length`.

    quit @4 ();
    # Quits this editor.
}

subject: Add openFile and delete procedures

message: Add openFile and delete procedures

repos: nokaa/forge,nokaa/anvil


old_contents:
@0xc5bf8243b0c10764;

# TODO: Use absolute path
using import "ConnectionsProto.capnp".ConnectionsProto;
using import "RandomProto.capnp".RandomProto;

# Next ID: 16
struct TemporalMemoryProto {

  columnDimensions @0 :List(UInt32);
  cellsPerColumn @1 :UInt32;
  activationThreshold @2 :UInt32;
  learningRadius @3 :UInt32;
  initialPermanence @4 :Float32;
  connectedPermanence @5 :Float32;
  minThreshold @6 :UInt32;
  maxNewSynapseCount @7 :UInt32;
  permanenceIncrement @8 :Float32;
  permanenceDecrement @9 :Float32;

  connections @10 :ConnectionsProto;
  random @11 :RandomProto;

  # Lists of indices
  activeCells @12 :List(UInt32);
  predictiveCells @13 :List(UInt32);
  activeSegments @14 :List(UInt32);
  winnerCells @15 :List(UInt32);

}

new_contents:
@0xc5bf8243b0c10764;

# TODO: Use absolute path
using import "ConnectionsProto.capnp".ConnectionsProto;
using import "RandomProto.capnp".RandomProto;

# Next ID: 18
struct TemporalMemoryProto {

  columnDimensions @0 :List(UInt32);
  cellsPerColumn @1 :UInt32;
  activationThreshold @2 :UInt32;
  learningRadius @3 :UInt32;
  initialPermanence @4 :Float32;
  connectedPermanence @5 :Float32;
  minThreshold @6 :UInt32;
  maxNewSynapseCount @7 :UInt32;
  permanenceIncrement @8 :Float32;
  permanenceDecrement @9 :Float32;

  connections @10 :ConnectionsProto;
  random @11 :RandomProto;

  # Lists of indices
  activeCells @12 :List(UInt32);
  predictiveCells @13 :List(UInt32);
  activeSegments @14 :List(UInt32);
  winnerCells @15 :List(UInt32);
  matchingSegments @16 :List(UInt32);
  matchingCells @17 :List(UInt32);
}

subject: Update Temoral Memory Proto to include Orphan Decay


old_contents:
@0x88eaee6db8e1f67c;

using Cxx = import "/capnp/c++.capnp";
$Cxx.namespace("nupic");

struct RandomProto {
  seed @0 :UInt64;
  impl @1 :RandomImplProto;
}

struct RandomImplProto {
  state @0 :List(Int64);
  rptr @1 :Int64;
  fptr @2 :Int64;
}

new_contents:
@0x88eaee6db8e1f67c;

struct RandomProto {
  seed @0 :UInt64;
  impl @1 :RandomImplProto;
}

struct RandomImplProto {
  state @0 :List(Int64);
  rptr @1 :Int64;
  fptr @2 :Int64;
}

subject: Remove proto namespace that SWIG doesn't pick up.


old_contents:
@0xb639caa166140b0f;

using import "scalar.capnp".ScalarEncoderProto;

# Next ID: 5
struct CategoryEncoderProto {

  # Next ID: 2
  struct CategoryMapping {
    index @0 :UInt32;
    category @1 :Text;
  }

  width @0 :UInt32;
  indexToCategory @1 :List(CategoryMapping);
  name @2 :Text;
  verbosity @3 :UInt8;
  encoder @4 :ScalarEncoderProto;
}

new_contents:
@0xb639caa166140b0f;

using import "/nupic/encoders/scalar.capnp".ScalarEncoderProto;

# Next ID: 5
struct CategoryEncoderProto {

  # Next ID: 2
  struct CategoryMapping {
    index @0 :UInt32;
    category @1 :Text;
  }

  width @0 :UInt32;
  indexToCategory @1 :List(CategoryMapping);
  name @2 :Text;
  verbosity @3 :UInt8;
  encoder @4 :ScalarEncoderProto;
}

subject: Use absolute capnp import path

message: Use absolute capnp import path


old_contents:
@0xfa7d16f86048a6e4;

struct ScalarEncoderProto {
  # ScalarEncoder() constructor signature

  w @0 :UInt32;
  minval @1 :Float32;
  maxval @2 :Float32;
  periodic @3 :Bool;
  n @4 :UInt32;
  radius @5 :Float32;
  resolution @6 :Float32;
  name @7 :Text;
  verbosity @8 :UInt8;
  clipInput @9 :Bool;
}

new_contents:
@0xfa7d16f86048a6e4;

# Next ID: 10
struct ScalarEncoderProto {
  w @0 :UInt32;
  minval @1 :Float32;
  maxval @2 :Float32;
  periodic @3 :Bool;
  n @4 :UInt32;
  radius @5 :Float32;
  resolution @6 :Float32;
  name @7 :Text;
  verbosity @8 :UInt8;
  clipInput @9 :Bool;
}

subject: Revise comments following feedback in anticipation of merge


message: Revise comments following feedback in anticipation of merge


new_contents:
# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

@0x81f586f4d873f6ac;

struct Snapshot {
	id @0 :Int64;

	familyName @1: Text;
	msg @2 :Text;

	hash @3 :Data;
	treeReference @4 :Data;
}

struct SnapshotList {
	snapshots @0 :List(Snapshot);
}

struct ChunkRef {
	blobId @0 :Data;

	offset @1: Int64;
	length @2: Int64;
}

struct HashRef {
	hash @0 :Data;
	chunkRef @1 :ChunkRef;
}

struct HashRefList {
	hashRefs @0 :List(HashRef);
}

subject: Prepend copyright statement to Cap'n Proto schema.

repos: google/hat-backup,google/hat-backup


old_contents:
@0xc5bf8243b0c10764;

# TODO: Use absolute path
using import "ConnectionsProto.capnp".ConnectionsProto;
using import "RandomProto.capnp".RandomProto;

# Next ID: 19
struct TemporalMemoryProto {

  columnDimensions @0 :List(UInt32);
  cellsPerColumn @1 :UInt32;
  activationThreshold @2 :UInt32;
  learningRadius @3 :UInt32;
  initialPermanence @4 :Float32;
  connectedPermanence @5 :Float32;
  minThreshold @6 :UInt32;
  maxNewSynapseCount @7 :UInt32;
  permanenceIncrement @8 :Float32;
  permanenceDecrement @9 :Float32;
  permanenceOrphanDecrement @10 :Float32;

  connections @11 :ConnectionsProto;
  random @12 :RandomProto;

  # Lists of indices
  activeCells @13 :List(UInt32);
  predictiveCells @14 :List(UInt32);
  activeSegments @15 :List(UInt32);
  winnerCells @16 :List(UInt32);
  matchingSegments @17 :List(UInt32);
  matchingCells @18 :List(UInt32);
}

new_contents:
@0xc5bf8243b0c10764;

# TODO: Use absolute path
using import "ConnectionsProto.capnp".ConnectionsProto;
using import "RandomProto.capnp".RandomProto;

# Next ID: 19
struct TemporalMemoryProto {

  columnDimensions @0 :List(UInt32);
  cellsPerColumn @1 :UInt32;
  activationThreshold @2 :UInt32;
  learningRadius @3 :UInt32;
  initialPermanence @4 :Float32;
  connectedPermanence @5 :Float32;
  minThreshold @6 :UInt32;
  maxNewSynapseCount @7 :UInt32;
  permanenceIncrement @8 :Float32;
  permanenceDecrement @9 :Float32;

  connections @10 :ConnectionsProto;
  random @11 :RandomProto;

  # Lists of indices
  activeCells @12 :List(UInt32);
  predictiveCells @13 :List(UInt32);
  activeSegments @14 :List(UInt32);
  winnerCells @15 :List(UInt32);
  matchingSegments @16 :List(UInt32);
  matchingCells @17 :List(UInt32);
  permanenceOrphanDecrement @18 :Float32;
}

message: Update Temoral Memory Proto to include Orphan Decay


old_contents:
@0xc5bf8243b0c10764;

# TODO: Use absolute path
using import "ConnectionsProto.capnp".ConnectionsProto;
using import "RandomProto.capnp".RandomProto;

# Next ID: 18
struct TemporalMemoryProto {

  columnDimensions @0 :List(UInt32);
  cellsPerColumn @1 :UInt32;
  activationThreshold @2 :UInt32;
  learningRadius @3 :UInt32;
  initialPermanence @4 :Float32;
  connectedPermanence @5 :Float32;
  minThreshold @6 :UInt32;
  maxNewSynapseCount @7 :UInt32;
  permanenceIncrement @8 :Float32;
  permanenceDecrement @9 :Float32;

  connections @10 :ConnectionsProto;
  random @11 :RandomProto;

  # Lists of indices
  activeCells @12 :List(UInt32);
  predictiveCells @13 :List(UInt32);
  activeSegments @14 :List(UInt32);
  winnerCells @15 :List(UInt32);
  matchingSegments @16 :List(UInt32);
  matchingCells @17 :List(UInt32);
}

new_contents:
@0xc5bf8243b0c10764;

# TODO: Use absolute path
using import "ConnectionsProto.capnp".ConnectionsProto;
using import "RandomProto.capnp".RandomProto;

# Next ID: 19
struct TemporalMemoryProto {

  columnDimensions @0 :List(UInt32);
  cellsPerColumn @1 :UInt32;
  activationThreshold @2 :UInt32;
  learningRadius @3 :UInt32;
  initialPermanence @4 :Float32;
  connectedPermanence @5 :Float32;
  minThreshold @6 :UInt32;
  maxNewSynapseCount @7 :UInt32;
  permanenceIncrement @8 :Float32;
  permanenceDecrement @9 :Float32;
  permanenceOrphanDecrement @10 :Float32;

  connections @11 :ConnectionsProto;
  random @12 :RandomProto;

  # Lists of indices
  activeCells @13 :List(UInt32);
  predictiveCells @14 :List(UInt32);
  activeSegments @15 :List(UInt32);
  winnerCells @16 :List(UInt32);
  matchingSegments @17 :List(UInt32);
  matchingCells @18 :List(UInt32);
}


new_contents:
@0xa86c32f1ece85ed0;

using import "/nupic/proto/SdrClassifier.capnp".SdrClassifierProto;

# Next ID: 6
struct SDRClassifierRegionProto {
  classifierImp @0 :Text;
  claClassifier @1 :SdrClassifierProto;
  steps @2 :Text;
  alpha @3 :Float32;
  verbosity @4 :UInt32;
  maxCategoryCount @5 :UInt32;
}

subject: Add capnp proto for SDR classifier region


new_contents:
@0xc5bf8243b0c10764;

# TODO: Use absolute path
using import "ConnectionsProto.capnp".ConnectionsProto;
using import "RandomProto.capnp".RandomProto;

# Next ID: 16
struct TemporalMemoryProto {

  columnDimensions @0 :List(UInt32);
  cellsPerColumn @1 :UInt32;
  activationThreshold @2 :UInt32;
  learningRadius @3 :UInt32;
  initialPermanence @4 :Float32;
  connectedPermanence @5 :Float32;
  minThreshold @6 :UInt32;
  maxNewSynapseCount @7 :UInt32;
  permanenceIncrement @8 :Float32;
  permanenceDecrement @9 :Float32;

  connections @10 :ConnectionsProto;
  random @11 :RandomProto;

  activeCells @12 :List(UInt32);
  predictiveCells @13 :List(UInt32);
  activeSegments @14 :List(UInt32);
  winnerCells @15 :List(UInt32);

}

subject: Add Temporal Memory serialization schema