@deepseek-ai/dsh-api-remotes 0.1.2-alpha.3 → 0.1.2-alpha.4

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.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/api/remotes/README.md
5
- README.md: 228bd53024a61c935e84d6939a7e8ac2873cd7ea
6
- README.zh.md: c8581bd72909602a1bb5509455dc5ed2a195b66f
5
+ README.md: 1a6c311db9d456db17d942b56cc133799f355a88
6
+ README.zh.md: cba94598868db8401ea512bdb6c274fa2fe098e5
package/README.md CHANGED
@@ -82,3 +82,5 @@ No direct effect; mounted Host capabilities own any model-visible behavior they
82
82
  None.
83
83
 
84
84
  </details>
85
+
86
+ **Runtime invariant:** No companion is published. Typert and the Agent/Session registries own the observed relationships.
package/README.zh.md CHANGED
@@ -82,3 +82,5 @@ Host entry 为每条 Client stream 独立注册 allowlist listener 和队列,
82
82
  无。
83
83
 
84
84
  </details>
85
+
86
+ **运行时不变式:** 不发布伴生入口。被观察的关系由 Typert 以及 Agent、Session 注册表负责。
package/lib/client.js CHANGED
@@ -4525,7 +4525,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4525
4525
  "result": union([object({
4526
4526
  "kind": literal("success").readonly(),
4527
4527
  "text": string().readonly().optional(),
4528
- "sourceEventSeq": number().readonly().optional()
4528
+ "sourceEventSeq": intersection(number(), unknown()).readonly().optional()
4529
4529
  }), object({
4530
4530
  "kind": literal("error").readonly(),
4531
4531
  "text": string().readonly()
@@ -4593,7 +4593,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4593
4593
  },
4594
4594
  sourceLocation: {
4595
4595
  "file": "packages/interaction/commands/src/index.ts",
4596
- "line": 330,
4596
+ "line": 333,
4597
4597
  "column": 9
4598
4598
  }
4599
4599
  }, {
@@ -4624,7 +4624,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4624
4624
  },
4625
4625
  sourceLocation: {
4626
4626
  "file": "packages/interaction/commands/src/index.ts",
4627
- "line": 286,
4627
+ "line": 289,
4628
4628
  "column": 3
4629
4629
  }
4630
4630
  }]
@@ -5428,7 +5428,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5428
5428
  },
5429
5429
  sourceLocation: {
5430
5430
  "file": "packages/goal/goal/src/index.ts",
5431
- "line": 426,
5431
+ "line": 431,
5432
5432
  "column": 3
5433
5433
  }
5434
5434
  },
@@ -5469,7 +5469,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5469
5469
  },
5470
5470
  sourceLocation: {
5471
5471
  "file": "packages/goal/goal/src/index.ts",
5472
- "line": 384,
5472
+ "line": 389,
5473
5473
  "column": 3
5474
5474
  }
5475
5475
  },
@@ -5511,7 +5511,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5511
5511
  },
5512
5512
  sourceLocation: {
5513
5513
  "file": "packages/goal/goal/src/index.ts",
5514
- "line": 618,
5514
+ "line": 623,
5515
5515
  "column": 3
5516
5516
  }
5517
5517
  },
@@ -5565,7 +5565,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5565
5565
  },
5566
5566
  sourceLocation: {
5567
5567
  "file": "packages/goal/goal/src/index.ts",
5568
- "line": 322,
5568
+ "line": 327,
5569
5569
  "column": 3
5570
5570
  }
5571
5571
  },
@@ -5606,7 +5606,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5606
5606
  },
5607
5607
  sourceLocation: {
5608
5608
  "file": "packages/goal/goal/src/index.ts",
5609
- "line": 345,
5609
+ "line": 350,
5610
5610
  "column": 3
5611
5611
  }
5612
5612
  },
@@ -5647,7 +5647,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5647
5647
  },
5648
5648
  sourceLocation: {
5649
5649
  "file": "packages/goal/goal/src/index.ts",
5650
- "line": 357,
5650
+ "line": 362,
5651
5651
  "column": 3
5652
5652
  }
5653
5653
  }
@@ -6866,7 +6866,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6866
6866
  },
6867
6867
  sourceLocation: {
6868
6868
  "file": "packages/feedback/message-feedback/src/index.ts",
6869
- "line": 272,
6869
+ "line": 273,
6870
6870
  "column": 3
6871
6871
  }
6872
6872
  },
@@ -6893,7 +6893,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6893
6893
  },
6894
6894
  sourceLocation: {
6895
6895
  "file": "packages/feedback/message-feedback/src/index.ts",
6896
- "line": 190,
6896
+ "line": 191,
6897
6897
  "column": 9
6898
6898
  }
6899
6899
  },
@@ -6920,7 +6920,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6920
6920
  },
6921
6921
  sourceLocation: {
6922
6922
  "file": "packages/feedback/message-feedback/src/index.ts",
6923
- "line": 206,
6923
+ "line": 207,
6924
6924
  "column": 3
6925
6925
  }
6926
6926
  }
@@ -6979,7 +6979,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6979
6979
  },
6980
6980
  sourceLocation: {
6981
6981
  "file": "packages/context/session-reference/src/index.ts",
6982
- "line": 245,
6982
+ "line": 251,
6983
6983
  "column": 9
6984
6984
  }
6985
6985
  }]
@@ -7093,7 +7093,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7093
7093
  },
7094
7094
  sourceLocation: {
7095
7095
  "file": "packages/subagent/subagent/src/index.ts",
7096
- "line": 491,
7096
+ "line": 476,
7097
7097
  "column": 3
7098
7098
  }
7099
7099
  },
@@ -7122,7 +7122,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7122
7122
  },
7123
7123
  sourceLocation: {
7124
7124
  "file": "packages/subagent/subagent/src/index.ts",
7125
- "line": 407,
7125
+ "line": 384,
7126
7126
  "column": 9
7127
7127
  }
7128
7128
  },
@@ -7150,7 +7150,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7150
7150
  },
7151
7151
  sourceLocation: {
7152
7152
  "file": "packages/subagent/subagent/src/index.ts",
7153
- "line": 433,
7153
+ "line": 410,
7154
7154
  "column": 9
7155
7155
  }
7156
7156
  }
@@ -7363,12 +7363,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7363
7363
  object({
7364
7364
  "mode": literal("one-shot"),
7365
7365
  "label": string().optional(),
7366
- "seq": number()
7366
+ "seq": intersection(number(), unknown())
7367
7367
  }),
7368
7368
  object({
7369
7369
  "mode": literal("continuable"),
7370
7370
  "label": string(),
7371
- "seq": number()
7371
+ "seq": intersection(number(), unknown())
7372
7372
  })
7373
7373
  ]).optional(),
7374
7374
  "goal": union([literal(null), object({
@@ -7503,9 +7503,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7503
7503
  "ignorable": literal(true).readonly().optional(),
7504
7504
  "sourceEventSeqs": array(number()).readonly().optional(),
7505
7505
  "surfaceOp": union([literal("append"), object({
7506
- "op": literal("replace"),
7507
- "start": number(),
7508
- "end": number()
7506
+ "op": literal("replace").readonly(),
7507
+ "start": number().readonly(),
7508
+ "end": number().readonly()
7509
7509
  })]).readonly().optional()
7510
7510
  }).readonly()
7511
7511
  }), object({
@@ -7540,9 +7540,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7540
7540
  "ignorable": literal(true).readonly().optional(),
7541
7541
  "sourceEventSeqs": array(number()).readonly().optional(),
7542
7542
  "surfaceOp": union([literal("append"), object({
7543
- "op": literal("replace"),
7544
- "start": number(),
7545
- "end": number()
7543
+ "op": literal("replace").readonly(),
7544
+ "start": number().readonly(),
7545
+ "end": number().readonly()
7546
7546
  })]).readonly().optional()
7547
7547
  }).readonly()
7548
7548
  }), object({
@@ -7643,12 +7643,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7643
7643
  object({
7644
7644
  "mode": literal("one-shot"),
7645
7645
  "label": string().optional(),
7646
- "seq": number()
7646
+ "seq": intersection(number(), unknown())
7647
7647
  }),
7648
7648
  object({
7649
7649
  "mode": literal("continuable"),
7650
7650
  "label": string(),
7651
- "seq": number()
7651
+ "seq": intersection(number(), unknown())
7652
7652
  })
7653
7653
  ]).optional(),
7654
7654
  "goal": union([literal(null), object({
@@ -7751,12 +7751,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7751
7751
  object({
7752
7752
  "mode": literal("one-shot"),
7753
7753
  "label": string().optional(),
7754
- "seq": number()
7754
+ "seq": intersection(number(), unknown())
7755
7755
  }),
7756
7756
  object({
7757
7757
  "mode": literal("continuable"),
7758
7758
  "label": string(),
7759
- "seq": number()
7759
+ "seq": intersection(number(), unknown())
7760
7760
  })
7761
7761
  ]).optional(),
7762
7762
  "goal": union([literal(null), object({
@@ -7856,9 +7856,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7856
7856
  "ignorable": literal(true).readonly().optional(),
7857
7857
  "sourceEventSeqs": array(number()).readonly().optional(),
7858
7858
  "surfaceOp": union([literal("append"), object({
7859
- "op": literal("replace"),
7860
- "start": number(),
7861
- "end": number()
7859
+ "op": literal("replace").readonly(),
7860
+ "start": number().readonly(),
7861
+ "end": number().readonly()
7862
7862
  })]).readonly().optional()
7863
7863
  }).readonly()
7864
7864
  }), object({
@@ -8083,7 +8083,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8083
8083
  },
8084
8084
  sourceLocation: {
8085
8085
  "file": "packages/api/session-controller/src/index.ts",
8086
- "line": 333,
8086
+ "line": 338,
8087
8087
  "column": 3
8088
8088
  }
8089
8089
  },
@@ -8110,7 +8110,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8110
8110
  },
8111
8111
  sourceLocation: {
8112
8112
  "file": "packages/api/session-controller/src/index.ts",
8113
- "line": 353,
8113
+ "line": 358,
8114
8114
  "column": 3
8115
8115
  }
8116
8116
  },
@@ -8128,7 +8128,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8128
8128
  },
8129
8129
  sourceLocation: {
8130
8130
  "file": "packages/api/session-controller/src/index.ts",
8131
- "line": 258,
8131
+ "line": 263,
8132
8132
  "column": 3
8133
8133
  }
8134
8134
  },
@@ -8148,7 +8148,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8148
8148
  },
8149
8149
  sourceLocation: {
8150
8150
  "file": "packages/api/session-controller/src/index.ts",
8151
- "line": 385,
8151
+ "line": 390,
8152
8152
  "column": 3
8153
8153
  }
8154
8154
  },
@@ -8175,7 +8175,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8175
8175
  },
8176
8176
  sourceLocation: {
8177
8177
  "file": "packages/api/session-controller/src/index.ts",
8178
- "line": 230,
8178
+ "line": 235,
8179
8179
  "column": 3
8180
8180
  }
8181
8181
  },
@@ -8204,7 +8204,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8204
8204
  },
8205
8205
  sourceLocation: {
8206
8206
  "file": "packages/api/session-controller/src/index.ts",
8207
- "line": 375,
8207
+ "line": 380,
8208
8208
  "column": 3
8209
8209
  }
8210
8210
  },
@@ -8231,7 +8231,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8231
8231
  },
8232
8232
  sourceLocation: {
8233
8233
  "file": "packages/api/session-controller/src/index.ts",
8234
- "line": 311,
8234
+ "line": 316,
8235
8235
  "column": 3
8236
8236
  }
8237
8237
  },
@@ -8259,7 +8259,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8259
8259
  },
8260
8260
  sourceLocation: {
8261
8261
  "file": "packages/api/session-controller/src/index.ts",
8262
- "line": 209,
8262
+ "line": 214,
8263
8263
  "column": 9
8264
8264
  }
8265
8265
  },
@@ -8277,7 +8277,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8277
8277
  },
8278
8278
  sourceLocation: {
8279
8279
  "file": "packages/api/session-controller/src/index.ts",
8280
- "line": 249,
8280
+ "line": 254,
8281
8281
  "column": 3
8282
8282
  }
8283
8283
  },
@@ -8305,7 +8305,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8305
8305
  },
8306
8306
  sourceLocation: {
8307
8307
  "file": "packages/api/session-controller/src/index.ts",
8308
- "line": 270,
8308
+ "line": 275,
8309
8309
  "column": 9
8310
8310
  }
8311
8311
  },
@@ -8333,7 +8333,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8333
8333
  },
8334
8334
  sourceLocation: {
8335
8335
  "file": "packages/api/session-controller/src/index.ts",
8336
- "line": 364,
8336
+ "line": 369,
8337
8337
  "column": 3
8338
8338
  }
8339
8339
  },
@@ -8361,7 +8361,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8361
8361
  },
8362
8362
  sourceLocation: {
8363
8363
  "file": "packages/api/session-controller/src/index.ts",
8364
- "line": 322,
8364
+ "line": 327,
8365
8365
  "column": 3
8366
8366
  }
8367
8367
  },
@@ -8388,7 +8388,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8388
8388
  },
8389
8389
  sourceLocation: {
8390
8390
  "file": "packages/api/session-controller/src/index.ts",
8391
- "line": 301,
8391
+ "line": 306,
8392
8392
  "column": 3
8393
8393
  }
8394
8394
  },
@@ -8416,7 +8416,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8416
8416
  },
8417
8417
  sourceLocation: {
8418
8418
  "file": "packages/api/session-controller/src/index.ts",
8419
- "line": 220,
8419
+ "line": 225,
8420
8420
  "column": 3
8421
8421
  }
8422
8422
  },
@@ -8443,7 +8443,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8443
8443
  },
8444
8444
  sourceLocation: {
8445
8445
  "file": "packages/api/session-controller/src/index.ts",
8446
- "line": 240,
8446
+ "line": 245,
8447
8447
  "column": 3
8448
8448
  }
8449
8449
  },
@@ -8470,7 +8470,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8470
8470
  },
8471
8471
  sourceLocation: {
8472
8472
  "file": "packages/api/session-controller/src/index.ts",
8473
- "line": 343,
8473
+ "line": 348,
8474
8474
  "column": 3
8475
8475
  }
8476
8476
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-api-remotes",
3
3
  "description": "Remote BFF assembly for application-selected Host capabilities",
4
- "version": "0.1.2-alpha.3",
4
+ "version": "0.1.2-alpha.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -18,10 +18,6 @@
18
18
  "types": "./lib/types/index.d.ts",
19
19
  "default": "./lib/index.js"
20
20
  },
21
- "./invariant": {
22
- "types": "./lib/types/invariant.d.ts",
23
- "default": "./lib/invariant.js"
24
- },
25
21
  "./client": {
26
22
  "types": "./lib/types/client/index.d.ts",
27
23
  "default": "./lib/client.js"
@@ -45,44 +41,42 @@
45
41
  "license": "MIT",
46
42
  "files": [
47
43
  "lib/index.js",
48
- "lib/invariant.js",
49
44
  "lib/client.js",
50
45
  "lib/types/**/*.js",
51
46
  "lib/types/**/*.d.ts"
52
47
  ],
53
48
  "dependencies": {
54
- "@deepseek-ai/dsh-deque": "^0.1.2-alpha.3",
55
- "@deepseek-ai/dsh-session": "^0.1.2-alpha.3",
56
- "@deepseek-ai/dsh-util-values": "^0.1.2-alpha.3"
49
+ "@deepseek-ai/dsh-deque": "^0.1.2-alpha.4",
50
+ "@deepseek-ai/dsh-session": "^0.1.2-alpha.4",
51
+ "@deepseek-ai/dsh-util-values": "^0.1.2-alpha.4"
57
52
  },
58
53
  "peerDependencies": {
59
54
  "@deepseek-ai/cordis": "^4.0.2",
60
- "@deepseek-ai/dsh-scope": "^0.1.2-alpha.3"
55
+ "@deepseek-ai/dsh-scope": "^0.1.2-alpha.4"
61
56
  },
62
57
  "devDependencies": {
63
- "@deepseek-ai/dsh-agent-presets": "^0.1.2-alpha.3",
64
- "@deepseek-ai/dsh-api-settings-controller": "^0.1.2-alpha.3",
65
- "@deepseek-ai/dsh-api-gateway": "^0.1.2-alpha.3",
66
58
  "@deepseek-ai/cordis": "^4.0.2",
67
- "@deepseek-ai/dsh-cordis-host-runner": "^0.1.2-alpha.3",
68
- "@deepseek-ai/dsh-api-workspace-controller": "^0.1.2-alpha.3",
69
- "@deepseek-ai/dsh-file-reference": "^0.1.2-alpha.3",
70
- "@deepseek-ai/dsh-goal": "^0.1.2-alpha.3",
71
- "@deepseek-ai/dsh-host-plugin-inventory": "^0.1.2-alpha.3",
72
- "@deepseek-ai/dsh-message-feedback": "^0.1.2-alpha.3",
73
- "@deepseek-ai/dsh-session-reference": "^0.1.2-alpha.3",
74
- "@deepseek-ai/dsh-credentials": "^0.1.2-alpha.3",
75
- "@deepseek-ai/dsh-commands": "^0.1.2-alpha.3",
76
- "@deepseek-ai/dsh-subagent": "^0.1.2-alpha.3",
77
- "@deepseek-ai/dsh-user-approval": "^0.1.2-alpha.3",
78
- "@deepseek-ai/dsh-user-questions": "^0.1.2-alpha.3",
79
- "@deepseek-ai/dsh-client-connection": "^0.1.2-alpha.3",
80
- "@deepseek-ai/dsh-typert-protocol": "^0.1.2-alpha.3",
81
- "@deepseek-ai/dsh-scope": "^0.1.2-alpha.3",
82
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
83
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.3",
84
- "@deepseek-ai/dsh-api-session-controller": "^0.1.2-alpha.3",
85
- "@deepseek-ai/dsh-settings": "^0.1.2-alpha.3"
59
+ "@deepseek-ai/dsh-agent-presets": "^0.1.2-alpha.4",
60
+ "@deepseek-ai/dsh-api-gateway": "^0.1.2-alpha.4",
61
+ "@deepseek-ai/dsh-api-settings-controller": "^0.1.2-alpha.4",
62
+ "@deepseek-ai/dsh-api-workspace-controller": "^0.1.2-alpha.4",
63
+ "@deepseek-ai/dsh-commands": "^0.1.2-alpha.4",
64
+ "@deepseek-ai/dsh-cordis-host-runner": "^0.1.2-alpha.4",
65
+ "@deepseek-ai/dsh-credentials": "^0.1.2-alpha.4",
66
+ "@deepseek-ai/dsh-file-reference": "^0.1.2-alpha.4",
67
+ "@deepseek-ai/dsh-host-plugin-inventory": "^0.1.2-alpha.4",
68
+ "@deepseek-ai/dsh-goal": "^0.1.2-alpha.4",
69
+ "@deepseek-ai/dsh-llm": "^0.1.2-alpha.4",
70
+ "@deepseek-ai/dsh-settings": "^0.1.2-alpha.4",
71
+ "@deepseek-ai/dsh-subagent": "^0.1.2-alpha.4",
72
+ "@deepseek-ai/dsh-user-approval": "^0.1.2-alpha.4",
73
+ "@deepseek-ai/dsh-user-questions": "^0.1.2-alpha.4",
74
+ "@deepseek-ai/dsh-client-connection": "^0.1.2-alpha.4",
75
+ "@deepseek-ai/dsh-scope": "^0.1.2-alpha.4",
76
+ "@deepseek-ai/dsh-typert-protocol": "^0.1.2-alpha.4",
77
+ "@deepseek-ai/dsh-api-session-controller": "^0.1.2-alpha.4",
78
+ "@deepseek-ai/dsh-session-reference": "^0.1.2-alpha.4",
79
+ "@deepseek-ai/dsh-message-feedback": "^0.1.2-alpha.4"
86
80
  },
87
81
  "scripts": {
88
82
  "bundle": "tsdown",
package/lib/invariant.js DELETED
@@ -1,17 +0,0 @@
1
- //#region lib/types/invariant.js
2
- /** Package-owned invariant companion for `@deepseek-ai/dsh-api-remotes`. */
3
- const PACKAGE_NAME = "@deepseek-ai/dsh-api-remotes";
4
- /** Cordis companion plugin name. */
5
- const name = "api-remotes-invariant";
6
- /** Service required before the companion can reserve package ownership. */
7
- const inject = ["invariants"];
8
- /** No runtime invariant: Typert and the Agent/Session registries own the observed relationships. */
9
- const install = () => {};
10
- /**
11
- * Register this package's invariant companion.
12
- * @param ctx - Cordis context carrying the invariant service.
13
- * @returns the installed registration's disposer after setup succeeds.
14
- */
15
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
16
- //#endregion
17
- export { apply, inject, name };
@@ -1,13 +0,0 @@
1
- /** Package-owned invariant companion for `@deepseek-ai/dsh-api-remotes`. */
2
- import type { Context } from '@deepseek-ai/cordis';
3
- /** Cordis companion plugin name. */
4
- export declare const name = "api-remotes-invariant";
5
- /** Service required before the companion can reserve package ownership. */
6
- export declare const inject: string[];
7
- /**
8
- * Register this package's invariant companion.
9
- * @param ctx - Cordis context carrying the invariant service.
10
- * @returns the installed registration's disposer after setup succeeds.
11
- */
12
- export declare const apply: (ctx: Context) => Promise<() => void>;
13
- //# sourceMappingURL=invariant.d.ts.map
@@ -1,16 +0,0 @@
1
- /** Package-owned invariant companion for `@deepseek-ai/dsh-api-remotes`. */
2
- const PACKAGE_NAME = '@deepseek-ai/dsh-api-remotes';
3
- /** Cordis companion plugin name. */
4
- export const name = 'api-remotes-invariant';
5
- /** Service required before the companion can reserve package ownership. */
6
- export const inject = ['invariants'];
7
- /** No runtime invariant: Typert and the Agent/Session registries own the observed relationships. */
8
- const install = () => { };
9
- /**
10
- * Register this package's invariant companion.
11
- * @param ctx - Cordis context carrying the invariant service.
12
- * @returns the installed registration's disposer after setup succeeds.
13
- */
14
- export const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
15
- /* jscpd:ignore-end */
16
- //# sourceMappingURL=invariant.js.map