@appthen/sdk-core 0.0.1 → 0.0.2

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/dist/index.d.ts CHANGED
@@ -332,6 +332,29 @@ export interface ChatHubSubjectClassPreset {
332
332
  requiredExternalIdentity?: Record<string, unknown>;
333
333
  tags?: string[];
334
334
  notes?: string;
335
+ /**
336
+ * 类级 agent 运行配置(与服务端 SubjectClass.agentConfig 同形)。
337
+ * 人主体类缺省;agent 类用它声明能力/运行档偏好(provider/bindingDefaults 等)。
338
+ */
339
+ agentConfig?: {
340
+ capabilityId?: string;
341
+ capabilityIds?: string[];
342
+ provider?: string;
343
+ roleDefinition?: string;
344
+ toolPreset?: string;
345
+ permissionStrategy?: 'manual' | 'auto-allow' | 'auto-deny';
346
+ prompt?: Record<string, unknown>;
347
+ triggerModes?: string[];
348
+ bindingDefaults?: {
349
+ bindingId?: string;
350
+ projectId?: string;
351
+ workspaceId?: string;
352
+ modeId?: string;
353
+ model?: string;
354
+ thinkingOptionId?: string;
355
+ };
356
+ [key: string]: unknown;
357
+ };
335
358
  }
336
359
  export interface ChatHubSubjectPreset {
337
360
  subjectId: string;
@@ -332,6 +332,29 @@ export interface ChatHubSubjectClassPreset {
332
332
  requiredExternalIdentity?: Record<string, unknown>;
333
333
  tags?: string[];
334
334
  notes?: string;
335
+ /**
336
+ * 类级 agent 运行配置(与服务端 SubjectClass.agentConfig 同形)。
337
+ * 人主体类缺省;agent 类用它声明能力/运行档偏好(provider/bindingDefaults 等)。
338
+ */
339
+ agentConfig?: {
340
+ capabilityId?: string;
341
+ capabilityIds?: string[];
342
+ provider?: string;
343
+ roleDefinition?: string;
344
+ toolPreset?: string;
345
+ permissionStrategy?: 'manual' | 'auto-allow' | 'auto-deny';
346
+ prompt?: Record<string, unknown>;
347
+ triggerModes?: string[];
348
+ bindingDefaults?: {
349
+ bindingId?: string;
350
+ projectId?: string;
351
+ workspaceId?: string;
352
+ modeId?: string;
353
+ model?: string;
354
+ thinkingOptionId?: string;
355
+ };
356
+ [key: string]: unknown;
357
+ };
335
358
  }
336
359
  export interface ChatHubSubjectPreset {
337
360
  subjectId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appthen/sdk-core",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "AppThen Conversation Hub SDK - platform-agnostic core",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",