@farmslot/protocol 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
  - Active-development baseline; add user-facing changes here before release or package publication.
6
6
 
7
+ ## 0.7.5 - 2026-07-08
8
+
9
+ - feat: export `DEFAULT_GATEWAY_TLS_PORT` (7778) — the shared default port the gateway serves `wss://` on when TLS is configured, so the gateway daemon and CLI reference one source of truth instead of duplicating the literal
10
+
7
11
  ## 0.7.4 - 2026-07-06
8
12
 
9
13
  - Add `@farmslot/protocol/checklist-target` as the canonical checklist filename registry (worker, self-review, ci-fix) with signal derivation, nested-loop progress filtering, and UI progress label helpers; optional `ChecklistTargetRegistry` supports dynamic overrides.
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export * from './slots/tracking-branch.js';
17
17
  export * from './surfaces/command-center.js';
18
18
  export * from './transport/events.js';
19
19
  export * from './transport/frames.js';
20
+ export * from './transport/gateway-tls.js';
20
21
  export * from './transport/signal.js';
21
22
  export { PROTOCOL_VERSION } from './version.js';
22
23
  export * from './workers/tmux-worker-watchlist.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,cAAc,oCAAoC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,cAAc,oCAAoC,CAAC"}
package/dist/index.js CHANGED
@@ -17,6 +17,7 @@ export * from './slots/tracking-branch.js';
17
17
  export * from './surfaces/command-center.js';
18
18
  export * from './transport/events.js';
19
19
  export * from './transport/frames.js';
20
+ export * from './transport/gateway-tls.js';
20
21
  export * from './transport/signal.js';
21
22
  export { PROTOCOL_VERSION } from './version.js';
22
23
  export * from './workers/tmux-worker-watchlist.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources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,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,cAAc,oCAAoC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Default port the gateway serves wss:// (and https `/health`) on when TLS is
3
+ * configured. Distinct from the plaintext ws:// port (7777) so both transports
4
+ * can coexist on one daemon. Overridable via FARMSLOT_GATEWAY_TLS_PORT.
5
+ */
6
+ export declare const DEFAULT_GATEWAY_TLS_PORT = 7778;
7
+ //# sourceMappingURL=gateway-tls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gateway-tls.d.ts","sourceRoot":"","sources":["../../src/transport/gateway-tls.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,OAAO,CAAC"}
@@ -0,0 +1,11 @@
1
+ // gateway-tls.ts — shared transport constant for the gateway's optional TLS
2
+ // (wss://) listener. Homed in the protocol so the gateway daemon
3
+ // (services/gateway) and the CLI (packages/cli) share one source of truth for
4
+ // the port instead of each hard-coding the literal.
5
+ /**
6
+ * Default port the gateway serves wss:// (and https `/health`) on when TLS is
7
+ * configured. Distinct from the plaintext ws:// port (7777) so both transports
8
+ * can coexist on one daemon. Overridable via FARMSLOT_GATEWAY_TLS_PORT.
9
+ */
10
+ export const DEFAULT_GATEWAY_TLS_PORT = 7778;
11
+ //# sourceMappingURL=gateway-tls.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gateway-tls.js","sourceRoot":"","sources":["../../src/transport/gateway-tls.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,iEAAiE;AACjE,8EAA8E;AAC9E,oDAAoD;AAEpD;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,IAAI,CAAC"}
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const PROTOCOL_VERSION = "0.7.3";
1
+ export declare const PROTOCOL_VERSION = "0.7.5";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -3,5 +3,5 @@
3
3
  // fleet can be upgraded deliberately; optional method/event fields remain
4
4
  // backward-compatible unless a caller requires a new node capability.
5
5
  // Format: semver-ish, increment when methods/events/frame format changes.
6
- export const PROTOCOL_VERSION = '0.7.3';
6
+ export const PROTOCOL_VERSION = '0.7.5';
7
7
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farmslot/protocol",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",