@atcx/contract 7.4.1 → 7.5.0

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/README.md CHANGED
@@ -3,12 +3,12 @@
3
3
 
4
4
  <p>
5
5
  <a href="https://www.npmjs.com/package/@atcx/contract"><img src="https://img.shields.io/npm/v/@atcx/contract" alt="npm version"></a>
6
- <a href="https://github.com/zgeoff/atc/blob/%40zgeoff%2Fatc%407.4.1/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT license"></a>
6
+ <a href="https://github.com/zgeoff/atc/blob/%40zgeoff%2Fatc%407.5.0/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT license"></a>
7
7
  </p>
8
8
 
9
9
  <p>
10
- <a href="https://github.com/zgeoff/atc/blob/%40zgeoff%2Fatc%407.4.1/docs/architecture/protocol/contract.md">The published contract</a> •
11
- <a href="https://github.com/zgeoff/atc/blob/%40zgeoff%2Fatc%407.4.1/docs/architecture/protocol/protocol.md">The client protocol</a>
10
+ <a href="https://github.com/zgeoff/atc/blob/%40zgeoff%2Fatc%407.5.0/docs/architecture/protocol/contract.md">The published contract</a> •
11
+ <a href="https://github.com/zgeoff/atc/blob/%40zgeoff%2Fatc%407.5.0/docs/architecture/protocol/protocol.md">The client protocol</a>
12
12
  </p>
13
13
  </div>
14
14
 
@@ -52,9 +52,9 @@ bun add -d @opentelemetry/api
52
52
  ## Configuration
53
53
 
54
54
  `CONFIG_FILE_SCHEMA` parses the top-level keys of atc's `config.json`, and the
55
- [configuration guide](https://github.com/zgeoff/atc/blob/%40zgeoff%2Fatc%407.4.1/docs/guides/configuration.md) describes each key.
55
+ [configuration guide](https://github.com/zgeoff/atc/blob/%40zgeoff%2Fatc%407.5.0/docs/guides/configuration.md) describes each key.
56
56
 
57
57
  ## Documentation
58
58
 
59
- [The published contract](https://github.com/zgeoff/atc/blob/%40zgeoff%2Fatc%407.4.1/docs/architecture/protocol/contract.md) covers what the package holds
59
+ [The published contract](https://github.com/zgeoff/atc/blob/%40zgeoff%2Fatc%407.5.0/docs/architecture/protocol/contract.md) covers what the package holds
60
60
  and how its version moves with atc's.
package/dist/index.js CHANGED
@@ -110,7 +110,7 @@ var ANSWER_VIEW_SCHEMA = z4.object({
110
110
  complete: z4.boolean()
111
111
  });
112
112
  // packages/contract/src/contract-version.ts
113
- var CONTRACT_VERSION = "7.4.1";
113
+ var CONTRACT_VERSION = "7.5.0";
114
114
 
115
115
  // packages/contract/src/daemon-features.ts
116
116
  var DAEMON_FEATURES = ["events.read.from-start"];
@@ -636,6 +636,8 @@ var PUBLISHED_RECORD_SCHEMA = z29.object({
636
636
  updatedAt: z29.string(),
637
637
  name: z29.string().nullable(),
638
638
  transcriptPath: z29.string().nullable(),
639
+ spawner: z29.string().nullable(),
640
+ scratch: z29.string().nullable(),
639
641
  scope: SCOPE_SCHEMA
640
642
  });
641
643
 
@@ -1062,7 +1064,8 @@ var SESSION_ENV_NAMES = {
1062
1064
  socket: "ATC_SOCKET",
1063
1065
  bridge: "ATC_BRIDGE",
1064
1066
  outbox: "ATC_OUTBOX",
1065
- sessionRecord: "ATC_SESSION_RECORD"
1067
+ sessionRecord: "ATC_SESSION_RECORD",
1068
+ scopeFile: "AUTO_MODE_SCOPE_FILE"
1066
1069
  };
1067
1070
  // packages/contract/src/procedure-meta.ts
1068
1071
  import { z as z38 } from "zod";
@@ -119,7 +119,8 @@ var SESSION_ENV_NAMES = {
119
119
  socket: "ATC_SOCKET",
120
120
  bridge: "ATC_BRIDGE",
121
121
  outbox: "ATC_OUTBOX",
122
- sessionRecord: "ATC_SESSION_RECORD"
122
+ sessionRecord: "ATC_SESSION_RECORD",
123
+ scopeFile: "AUTO_MODE_SCOPE_FILE"
123
124
  };
124
125
  export {
125
126
  ERROR_CODES,
@@ -4,4 +4,5 @@ export declare const SESSION_ENV_NAMES: {
4
4
  readonly bridge: 'ATC_BRIDGE';
5
5
  readonly outbox: 'ATC_OUTBOX';
6
6
  readonly sessionRecord: 'ATC_SESSION_RECORD';
7
+ readonly scopeFile: 'AUTO_MODE_SCOPE_FILE';
7
8
  };
@@ -8,6 +8,8 @@ export interface PublishedRecord {
8
8
  readonly updatedAt: string;
9
9
  readonly name: string | null;
10
10
  readonly transcriptPath: string | null;
11
+ readonly spawner: string | null;
12
+ readonly scratch: string | null;
11
13
  readonly scope: RecordedScope;
12
14
  }
13
15
  export interface RecordedScope {
package/package.json CHANGED
@@ -14,11 +14,11 @@
14
14
  }
15
15
  },
16
16
  "dependencies": {
17
- "@orpc/contract": "1.15.6",
17
+ "@orpc/contract": "1.16.0",
18
18
  "zod": "4.6.6"
19
19
  },
20
20
  "name": "@atcx/contract",
21
- "version": "7.4.1",
21
+ "version": "7.5.0",
22
22
  "description": "atc's public contract: the daemon's request contract, the event, session record, hello and config schemas, the error codes, the session env names, and the state paths",
23
23
  "homepage": "https://github.com/zgeoff/atc/tree/main/packages/contract#readme",
24
24
  "bugs": "https://github.com/zgeoff/atc/issues",