@deepseek-ai/dsh-api-remotes 0.1.2-alpha.2 → 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 +2 -2
- package/README.md +2 -0
- package/README.zh.md +2 -0
- package/lib/client.js +61 -178
- package/package.json +26 -32
- package/lib/invariant.js +0 -17
- package/lib/types/invariant.d.ts +0 -13
- package/lib/types/invariant.js +0 -16
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:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 1a6c311db9d456db17d942b56cc133799f355a88
|
|
6
|
+
README.zh.md: cba94598868db8401ea512bdb6c274fa2fe098e5
|
package/README.md
CHANGED
package/README.zh.md
CHANGED
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
6923
|
+
"line": 207,
|
|
6924
6924
|
"column": 3
|
|
6925
6925
|
}
|
|
6926
6926
|
}
|
|
@@ -6979,55 +6979,13 @@ 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":
|
|
6982
|
+
"line": 251,
|
|
6983
6983
|
"column": 9
|
|
6984
6984
|
}
|
|
6985
6985
|
}]
|
|
6986
6986
|
};
|
|
6987
6987
|
//#endregion
|
|
6988
6988
|
//#region ../../subagent/subagent/lib/typert.remote-client.js
|
|
6989
|
-
const ToolResultBlockRemoteCodec$schema = object({
|
|
6990
|
-
"type": literal("tool-result"),
|
|
6991
|
-
"toolCallId": intersection(string(), unknown()),
|
|
6992
|
-
"content": array(union([
|
|
6993
|
-
object({
|
|
6994
|
-
"type": literal("text"),
|
|
6995
|
-
"text": string()
|
|
6996
|
-
}),
|
|
6997
|
-
object({
|
|
6998
|
-
"type": literal("image"),
|
|
6999
|
-
"attachment": object({
|
|
7000
|
-
"attachmentId": intersection(string(), unknown()),
|
|
7001
|
-
"mediaType": union([
|
|
7002
|
-
literal("image/png"),
|
|
7003
|
-
literal("image/jpeg"),
|
|
7004
|
-
literal("image/webp"),
|
|
7005
|
-
literal("image/gif")
|
|
7006
|
-
]),
|
|
7007
|
-
"bytes": number(),
|
|
7008
|
-
"width": number(),
|
|
7009
|
-
"height": number(),
|
|
7010
|
-
"name": string().optional(),
|
|
7011
|
-
"originalDimensions": object({
|
|
7012
|
-
"width": number(),
|
|
7013
|
-
"height": number()
|
|
7014
|
-
}).optional()
|
|
7015
|
-
})
|
|
7016
|
-
}),
|
|
7017
|
-
object({
|
|
7018
|
-
"type": literal("reasoning"),
|
|
7019
|
-
"text": string()
|
|
7020
|
-
}),
|
|
7021
|
-
object({
|
|
7022
|
-
"type": literal("tool-call"),
|
|
7023
|
-
"id": intersection(string(), unknown()),
|
|
7024
|
-
"name": string(),
|
|
7025
|
-
"arguments": string()
|
|
7026
|
-
}),
|
|
7027
|
-
lazy(() => ToolResultBlockRemoteCodec$schema)
|
|
7028
|
-
])),
|
|
7029
|
-
"isError": boolean().optional()
|
|
7030
|
-
});
|
|
7031
6989
|
const _deepseek_ai_dsh_subagent_subagents_interruptByParent_parameter_0$schema = intersection(string(), unknown());
|
|
7032
6990
|
const _deepseek_ai_dsh_subagent_subagents_interruptByParent_parameter_1$schema = intersection(string(), unknown());
|
|
7033
6991
|
const _deepseek_ai_dsh_subagent_subagents_interruptByParent_parameter_2$schema = literal("continuable");
|
|
@@ -7070,95 +7028,20 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7070
7028
|
"parentSessionId": intersection(string(), unknown()).readonly(),
|
|
7071
7029
|
"childSessionId": intersection(string(), unknown()).readonly(),
|
|
7072
7030
|
"mode": literal("continuable").readonly(),
|
|
7073
|
-
"content": array(union([
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
"
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
]),
|
|
7088
|
-
"bytes": number(),
|
|
7089
|
-
"width": number(),
|
|
7090
|
-
"height": number(),
|
|
7091
|
-
"name": string().optional(),
|
|
7092
|
-
"originalDimensions": object({
|
|
7093
|
-
"width": number(),
|
|
7094
|
-
"height": number()
|
|
7095
|
-
}).optional()
|
|
7096
|
-
})
|
|
7097
|
-
}),
|
|
7098
|
-
object({
|
|
7099
|
-
"type": literal("reasoning"),
|
|
7100
|
-
"text": string()
|
|
7101
|
-
}),
|
|
7102
|
-
object({
|
|
7103
|
-
"type": literal("tool-call"),
|
|
7104
|
-
"id": intersection(string(), unknown()),
|
|
7105
|
-
"name": string(),
|
|
7106
|
-
"arguments": string()
|
|
7107
|
-
}),
|
|
7108
|
-
object({
|
|
7109
|
-
"type": literal("tool-result"),
|
|
7110
|
-
"toolCallId": intersection(string(), unknown()),
|
|
7111
|
-
"content": array(union([
|
|
7112
|
-
object({
|
|
7113
|
-
"type": literal("text"),
|
|
7114
|
-
"text": string()
|
|
7115
|
-
}),
|
|
7116
|
-
object({
|
|
7117
|
-
"type": literal("image"),
|
|
7118
|
-
"attachment": object({
|
|
7119
|
-
"attachmentId": intersection(string(), unknown()),
|
|
7120
|
-
"mediaType": union([
|
|
7121
|
-
literal("image/png"),
|
|
7122
|
-
literal("image/jpeg"),
|
|
7123
|
-
literal("image/webp"),
|
|
7124
|
-
literal("image/gif")
|
|
7125
|
-
]),
|
|
7126
|
-
"bytes": number(),
|
|
7127
|
-
"width": number(),
|
|
7128
|
-
"height": number(),
|
|
7129
|
-
"name": string().optional(),
|
|
7130
|
-
"originalDimensions": object({
|
|
7131
|
-
"width": number(),
|
|
7132
|
-
"height": number()
|
|
7133
|
-
}).optional()
|
|
7134
|
-
})
|
|
7135
|
-
}),
|
|
7136
|
-
object({
|
|
7137
|
-
"type": literal("reasoning"),
|
|
7138
|
-
"text": string()
|
|
7139
|
-
}),
|
|
7140
|
-
object({
|
|
7141
|
-
"type": literal("tool-call"),
|
|
7142
|
-
"id": intersection(string(), unknown()),
|
|
7143
|
-
"name": string(),
|
|
7144
|
-
"arguments": string()
|
|
7145
|
-
}),
|
|
7146
|
-
lazy(() => ToolResultBlockRemoteCodec$schema)
|
|
7147
|
-
])),
|
|
7148
|
-
"isError": boolean().optional()
|
|
7149
|
-
}),
|
|
7150
|
-
object({
|
|
7151
|
-
"type": literal("image").readonly(),
|
|
7152
|
-
"mediaType": union([
|
|
7153
|
-
literal("image/png"),
|
|
7154
|
-
literal("image/jpeg"),
|
|
7155
|
-
literal("image/webp"),
|
|
7156
|
-
literal("image/gif")
|
|
7157
|
-
]),
|
|
7158
|
-
"data": string(),
|
|
7159
|
-
"name": string().optional()
|
|
7160
|
-
})
|
|
7161
|
-
])).readonly(),
|
|
7031
|
+
"content": array(union([object({
|
|
7032
|
+
"type": literal("text").readonly(),
|
|
7033
|
+
"text": string().readonly()
|
|
7034
|
+
}), object({
|
|
7035
|
+
"type": literal("image").readonly(),
|
|
7036
|
+
"mediaType": union([
|
|
7037
|
+
literal("image/png"),
|
|
7038
|
+
literal("image/jpeg"),
|
|
7039
|
+
literal("image/webp"),
|
|
7040
|
+
literal("image/gif")
|
|
7041
|
+
]).readonly(),
|
|
7042
|
+
"data": string().readonly(),
|
|
7043
|
+
"name": string().readonly().optional()
|
|
7044
|
+
})])).readonly(),
|
|
7162
7045
|
"clientTimeZone": string().readonly().optional()
|
|
7163
7046
|
});
|
|
7164
7047
|
const _deepseek_ai_dsh_subagent_subagents_prompt_result$schema = object({ "messageId": intersection(string(), unknown()).readonly() });
|
|
@@ -7210,7 +7093,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7210
7093
|
},
|
|
7211
7094
|
sourceLocation: {
|
|
7212
7095
|
"file": "packages/subagent/subagent/src/index.ts",
|
|
7213
|
-
"line":
|
|
7096
|
+
"line": 476,
|
|
7214
7097
|
"column": 3
|
|
7215
7098
|
}
|
|
7216
7099
|
},
|
|
@@ -7239,7 +7122,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7239
7122
|
},
|
|
7240
7123
|
sourceLocation: {
|
|
7241
7124
|
"file": "packages/subagent/subagent/src/index.ts",
|
|
7242
|
-
"line":
|
|
7125
|
+
"line": 384,
|
|
7243
7126
|
"column": 9
|
|
7244
7127
|
}
|
|
7245
7128
|
},
|
|
@@ -7267,7 +7150,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7267
7150
|
},
|
|
7268
7151
|
sourceLocation: {
|
|
7269
7152
|
"file": "packages/subagent/subagent/src/index.ts",
|
|
7270
|
-
"line":
|
|
7153
|
+
"line": 410,
|
|
7271
7154
|
"column": 9
|
|
7272
7155
|
}
|
|
7273
7156
|
}
|
|
@@ -7480,12 +7363,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7480
7363
|
object({
|
|
7481
7364
|
"mode": literal("one-shot"),
|
|
7482
7365
|
"label": string().optional(),
|
|
7483
|
-
"seq": number()
|
|
7366
|
+
"seq": intersection(number(), unknown())
|
|
7484
7367
|
}),
|
|
7485
7368
|
object({
|
|
7486
7369
|
"mode": literal("continuable"),
|
|
7487
7370
|
"label": string(),
|
|
7488
|
-
"seq": number()
|
|
7371
|
+
"seq": intersection(number(), unknown())
|
|
7489
7372
|
})
|
|
7490
7373
|
]).optional(),
|
|
7491
7374
|
"goal": union([literal(null), object({
|
|
@@ -7620,9 +7503,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7620
7503
|
"ignorable": literal(true).readonly().optional(),
|
|
7621
7504
|
"sourceEventSeqs": array(number()).readonly().optional(),
|
|
7622
7505
|
"surfaceOp": union([literal("append"), object({
|
|
7623
|
-
"op": literal("replace"),
|
|
7624
|
-
"start": number(),
|
|
7625
|
-
"end": number()
|
|
7506
|
+
"op": literal("replace").readonly(),
|
|
7507
|
+
"start": number().readonly(),
|
|
7508
|
+
"end": number().readonly()
|
|
7626
7509
|
})]).readonly().optional()
|
|
7627
7510
|
}).readonly()
|
|
7628
7511
|
}), object({
|
|
@@ -7657,9 +7540,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7657
7540
|
"ignorable": literal(true).readonly().optional(),
|
|
7658
7541
|
"sourceEventSeqs": array(number()).readonly().optional(),
|
|
7659
7542
|
"surfaceOp": union([literal("append"), object({
|
|
7660
|
-
"op": literal("replace"),
|
|
7661
|
-
"start": number(),
|
|
7662
|
-
"end": number()
|
|
7543
|
+
"op": literal("replace").readonly(),
|
|
7544
|
+
"start": number().readonly(),
|
|
7545
|
+
"end": number().readonly()
|
|
7663
7546
|
})]).readonly().optional()
|
|
7664
7547
|
}).readonly()
|
|
7665
7548
|
}), object({
|
|
@@ -7760,12 +7643,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7760
7643
|
object({
|
|
7761
7644
|
"mode": literal("one-shot"),
|
|
7762
7645
|
"label": string().optional(),
|
|
7763
|
-
"seq": number()
|
|
7646
|
+
"seq": intersection(number(), unknown())
|
|
7764
7647
|
}),
|
|
7765
7648
|
object({
|
|
7766
7649
|
"mode": literal("continuable"),
|
|
7767
7650
|
"label": string(),
|
|
7768
|
-
"seq": number()
|
|
7651
|
+
"seq": intersection(number(), unknown())
|
|
7769
7652
|
})
|
|
7770
7653
|
]).optional(),
|
|
7771
7654
|
"goal": union([literal(null), object({
|
|
@@ -7868,12 +7751,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7868
7751
|
object({
|
|
7869
7752
|
"mode": literal("one-shot"),
|
|
7870
7753
|
"label": string().optional(),
|
|
7871
|
-
"seq": number()
|
|
7754
|
+
"seq": intersection(number(), unknown())
|
|
7872
7755
|
}),
|
|
7873
7756
|
object({
|
|
7874
7757
|
"mode": literal("continuable"),
|
|
7875
7758
|
"label": string(),
|
|
7876
|
-
"seq": number()
|
|
7759
|
+
"seq": intersection(number(), unknown())
|
|
7877
7760
|
})
|
|
7878
7761
|
]).optional(),
|
|
7879
7762
|
"goal": union([literal(null), object({
|
|
@@ -7973,9 +7856,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7973
7856
|
"ignorable": literal(true).readonly().optional(),
|
|
7974
7857
|
"sourceEventSeqs": array(number()).readonly().optional(),
|
|
7975
7858
|
"surfaceOp": union([literal("append"), object({
|
|
7976
|
-
"op": literal("replace"),
|
|
7977
|
-
"start": number(),
|
|
7978
|
-
"end": number()
|
|
7859
|
+
"op": literal("replace").readonly(),
|
|
7860
|
+
"start": number().readonly(),
|
|
7861
|
+
"end": number().readonly()
|
|
7979
7862
|
})]).readonly().optional()
|
|
7980
7863
|
}).readonly()
|
|
7981
7864
|
}), object({
|
|
@@ -8200,7 +8083,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8200
8083
|
},
|
|
8201
8084
|
sourceLocation: {
|
|
8202
8085
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8203
|
-
"line":
|
|
8086
|
+
"line": 338,
|
|
8204
8087
|
"column": 3
|
|
8205
8088
|
}
|
|
8206
8089
|
},
|
|
@@ -8227,7 +8110,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8227
8110
|
},
|
|
8228
8111
|
sourceLocation: {
|
|
8229
8112
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8230
|
-
"line":
|
|
8113
|
+
"line": 358,
|
|
8231
8114
|
"column": 3
|
|
8232
8115
|
}
|
|
8233
8116
|
},
|
|
@@ -8245,7 +8128,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8245
8128
|
},
|
|
8246
8129
|
sourceLocation: {
|
|
8247
8130
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8248
|
-
"line":
|
|
8131
|
+
"line": 263,
|
|
8249
8132
|
"column": 3
|
|
8250
8133
|
}
|
|
8251
8134
|
},
|
|
@@ -8265,7 +8148,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8265
8148
|
},
|
|
8266
8149
|
sourceLocation: {
|
|
8267
8150
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8268
|
-
"line":
|
|
8151
|
+
"line": 390,
|
|
8269
8152
|
"column": 3
|
|
8270
8153
|
}
|
|
8271
8154
|
},
|
|
@@ -8292,7 +8175,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8292
8175
|
},
|
|
8293
8176
|
sourceLocation: {
|
|
8294
8177
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8295
|
-
"line":
|
|
8178
|
+
"line": 235,
|
|
8296
8179
|
"column": 3
|
|
8297
8180
|
}
|
|
8298
8181
|
},
|
|
@@ -8321,7 +8204,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8321
8204
|
},
|
|
8322
8205
|
sourceLocation: {
|
|
8323
8206
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8324
|
-
"line":
|
|
8207
|
+
"line": 380,
|
|
8325
8208
|
"column": 3
|
|
8326
8209
|
}
|
|
8327
8210
|
},
|
|
@@ -8348,7 +8231,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8348
8231
|
},
|
|
8349
8232
|
sourceLocation: {
|
|
8350
8233
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8351
|
-
"line":
|
|
8234
|
+
"line": 316,
|
|
8352
8235
|
"column": 3
|
|
8353
8236
|
}
|
|
8354
8237
|
},
|
|
@@ -8376,7 +8259,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8376
8259
|
},
|
|
8377
8260
|
sourceLocation: {
|
|
8378
8261
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8379
|
-
"line":
|
|
8262
|
+
"line": 214,
|
|
8380
8263
|
"column": 9
|
|
8381
8264
|
}
|
|
8382
8265
|
},
|
|
@@ -8394,7 +8277,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8394
8277
|
},
|
|
8395
8278
|
sourceLocation: {
|
|
8396
8279
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8397
|
-
"line":
|
|
8280
|
+
"line": 254,
|
|
8398
8281
|
"column": 3
|
|
8399
8282
|
}
|
|
8400
8283
|
},
|
|
@@ -8422,7 +8305,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8422
8305
|
},
|
|
8423
8306
|
sourceLocation: {
|
|
8424
8307
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8425
|
-
"line":
|
|
8308
|
+
"line": 275,
|
|
8426
8309
|
"column": 9
|
|
8427
8310
|
}
|
|
8428
8311
|
},
|
|
@@ -8450,7 +8333,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8450
8333
|
},
|
|
8451
8334
|
sourceLocation: {
|
|
8452
8335
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8453
|
-
"line":
|
|
8336
|
+
"line": 369,
|
|
8454
8337
|
"column": 3
|
|
8455
8338
|
}
|
|
8456
8339
|
},
|
|
@@ -8478,7 +8361,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8478
8361
|
},
|
|
8479
8362
|
sourceLocation: {
|
|
8480
8363
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8481
|
-
"line":
|
|
8364
|
+
"line": 327,
|
|
8482
8365
|
"column": 3
|
|
8483
8366
|
}
|
|
8484
8367
|
},
|
|
@@ -8505,7 +8388,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8505
8388
|
},
|
|
8506
8389
|
sourceLocation: {
|
|
8507
8390
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8508
|
-
"line":
|
|
8391
|
+
"line": 306,
|
|
8509
8392
|
"column": 3
|
|
8510
8393
|
}
|
|
8511
8394
|
},
|
|
@@ -8533,7 +8416,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8533
8416
|
},
|
|
8534
8417
|
sourceLocation: {
|
|
8535
8418
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8536
|
-
"line":
|
|
8419
|
+
"line": 225,
|
|
8537
8420
|
"column": 3
|
|
8538
8421
|
}
|
|
8539
8422
|
},
|
|
@@ -8560,7 +8443,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8560
8443
|
},
|
|
8561
8444
|
sourceLocation: {
|
|
8562
8445
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8563
|
-
"line":
|
|
8446
|
+
"line": 245,
|
|
8564
8447
|
"column": 3
|
|
8565
8448
|
}
|
|
8566
8449
|
},
|
|
@@ -8587,7 +8470,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8587
8470
|
},
|
|
8588
8471
|
sourceLocation: {
|
|
8589
8472
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8590
|
-
"line":
|
|
8473
|
+
"line": 348,
|
|
8591
8474
|
"column": 3
|
|
8592
8475
|
}
|
|
8593
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.
|
|
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.
|
|
55
|
-
"@deepseek-ai/dsh-session": "^0.1.2-alpha.
|
|
56
|
-
"@deepseek-ai/dsh-util-values": "^0.1.2-alpha.
|
|
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.
|
|
55
|
+
"@deepseek-ai/dsh-scope": "^0.1.2-alpha.4"
|
|
61
56
|
},
|
|
62
57
|
"devDependencies": {
|
|
63
58
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
64
|
-
"@deepseek-ai/dsh-agent-presets": "^0.1.2-alpha.
|
|
65
|
-
"@deepseek-ai/dsh-api-gateway": "^0.1.2-alpha.
|
|
66
|
-
"@deepseek-ai/dsh-api-settings-controller": "^0.1.2-alpha.
|
|
67
|
-
"@deepseek-ai/dsh-api-workspace-controller": "^0.1.2-alpha.
|
|
68
|
-
"@deepseek-ai/dsh-
|
|
69
|
-
"@deepseek-ai/dsh-
|
|
70
|
-
"@deepseek-ai/dsh-
|
|
71
|
-
"@deepseek-ai/dsh-
|
|
72
|
-
"@deepseek-ai/dsh-
|
|
73
|
-
"@deepseek-ai/dsh-
|
|
74
|
-
"@deepseek-ai/dsh-llm": "^0.1.2-alpha.
|
|
75
|
-
"@deepseek-ai/dsh-
|
|
76
|
-
"@deepseek-ai/dsh-
|
|
77
|
-
"@deepseek-ai/dsh-
|
|
78
|
-
"@deepseek-ai/dsh-user-
|
|
79
|
-
"@deepseek-ai/dsh-
|
|
80
|
-
"@deepseek-ai/dsh-
|
|
81
|
-
"@deepseek-ai/dsh-
|
|
82
|
-
"@deepseek-ai/dsh-
|
|
83
|
-
"@deepseek-ai/dsh-
|
|
84
|
-
"@deepseek-ai/dsh-
|
|
85
|
-
"@deepseek-ai/dsh-cordis-host-runner": "^0.1.2-alpha.2"
|
|
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 };
|
package/lib/types/invariant.d.ts
DELETED
|
@@ -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
|
package/lib/types/invariant.js
DELETED
|
@@ -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
|