@amigo-ai/platform-sdk 0.102.0 → 0.103.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/dist/index.cjs +11 -2
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -2
- package/dist/index.mjs.map +2 -2
- package/dist/resources/agent-runs.js +10 -0
- package/dist/resources/agent-runs.js.map +1 -1
- package/dist/resources/voice.js +5 -6
- package/dist/resources/voice.js.map +1 -1
- package/dist/types/generated/api.d.ts +911 -65
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/index.d.cts +2 -0
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/resources/agent-runs.d.ts +8 -0
- package/dist/types/resources/agent-runs.d.ts.map +1 -1
- package/dist/types/resources/agents.d.ts +4 -4
- package/dist/types/resources/analytics.d.ts +25 -1
- package/dist/types/resources/analytics.d.ts.map +1 -1
- package/dist/types/resources/external-integrations.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts +160 -10
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/voice.d.ts +1 -1
- package/dist/types/resources/voice.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import { WorkspaceScopedResource, extractData } from './base.js';
|
|
2
|
+
/** Frameworks currently supported by the platform's framework-native runner. */
|
|
3
|
+
export const AGENT_RUN_FRAMEWORKS = {
|
|
4
|
+
OPENAI_AGENTS: 'openai-agents',
|
|
5
|
+
CLAUDE_AGENT_SDK: 'claude-agent-sdk',
|
|
6
|
+
};
|
|
7
|
+
/** Human-readable labels for framework selectors and run summaries. */
|
|
8
|
+
export const AGENT_RUN_FRAMEWORK_LABELS = {
|
|
9
|
+
[AGENT_RUN_FRAMEWORKS.OPENAI_AGENTS]: 'OpenAI Agents SDK',
|
|
10
|
+
[AGENT_RUN_FRAMEWORKS.CLAUDE_AGENT_SDK]: 'Anthropic Claude Agent SDK',
|
|
11
|
+
};
|
|
2
12
|
/**
|
|
3
13
|
* Framework agent runs — the RUN + CONTEXT edges of the framework-agnostic
|
|
4
14
|
* world-model harness.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-runs.js","sourceRoot":"","sources":["../../src/resources/agent-runs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEhE;;;;;;;;;GASG;AACH,MAAM,OAAO,iBAAkB,SAAQ,uBAAuB;IAC5D;;;;OAIG;IACH,KAAK,CAAC,MAAM,CAAC,IAAoD;QAC/D,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,+BAA+B,EAAE;YACtD,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE;YACpD,IAAI;SACL,CAAC,CACH,CAAA;IACH,CAAC;IAED,6EAA6E;IAC7E,KAAK,CAAC,GAAG,CAAC,KAAa;QACrB,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,wCAAwC,EAAE;YAC9D,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE;SACpE,CAAC,CACH,CAAA;IACH,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAAC,MAAkD;QACrE,OAAO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I,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE;SACpE,CAAC,CACH,CAAA;IACH,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAAC,MAAkD;QACrE,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,+CAA+C,EAAE;YACrE,MAAM,EAAE;gBACN,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE;gBACxC,qEAAqE;gBACrE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,WAAW,EAAE,MAAM,CAAC,UAAU,EAAE;aACxE;SACF,CAAC,CACH,CAAA;IACH,CAAC;CACF"}
|
package/dist/resources/voice.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
// Voice MODEL FAMILIES
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
1
|
+
// Voice MODEL FAMILIES: amigo = Amigo's own pipeline (the default), gpt_realtime = OpenAI's
|
|
2
|
+
// GPT-Realtime family (served by the raw-WebSocket bridge). Families name models; runtimes are
|
|
3
|
+
// platform-internal. The gpt_live family + the Atlas SDK runtime were retired in the 2026-07-19
|
|
4
|
+
// engine consolidation; legacy values (inhouse/atlas/openai_realtime) are rejected server-side
|
|
5
|
+
// and never appear here.
|
|
6
6
|
const voiceSessionProviders = [
|
|
7
7
|
'amigo',
|
|
8
8
|
'gpt_realtime',
|
|
9
|
-
'gpt_live',
|
|
10
9
|
];
|
|
11
10
|
export const VOICE_SESSION_PROVIDERS = voiceSessionProviders;
|
|
12
11
|
const sttProviders = ['deepgram', 'openai', 'cartesia'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice.js","sourceRoot":"","sources":["../../src/resources/voice.ts"],"names":[],"mappings":"AAoBA,
|
|
1
|
+
{"version":3,"file":"voice.js","sourceRoot":"","sources":["../../src/resources/voice.ts"],"names":[],"mappings":"AAoBA,4FAA4F;AAC5F,+FAA+F;AAC/F,gGAAgG;AAChG,+FAA+F;AAC/F,yBAAyB;AACzB,MAAM,qBAAqB,GAAG;IAC5B,OAAO;IACP,cAAc;CACoC,CAAA;AACpD,MAAM,CAAC,MAAM,uBAAuB,GAAG,qBAGtC,CAAA;AAED,MAAM,YAAY,GAAG,CAAC,UAAU,EAAE,QAAQ,EAAE,UAAU,CAA2C,CAAA;AACjG;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,YAG5B,CAAA;AAED,MAAM,YAAY,GAAG,CAAC,UAAU,EAAE,YAAY,EAAE,MAAM,CAA2C,CAAA;AACjG,MAAM,CAAC,MAAM,aAAa,GAAG,YAG5B,CAAA"}
|