@asm-agent/coding-agent 0.9.0 → 0.9.1

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.
Files changed (29) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/bundle/{anthropic-ZOZNPFXS.js → anthropic-2VRH36LG.js} +1 -1
  3. package/dist/bundle/{azure-openai-responses-TDHCU647.js → azure-openai-responses-COYWHJPT.js} +2 -2
  4. package/dist/bundle/{bundled-modules-Q2YODC4B.js → bundled-modules-YKMFOFDW.js} +3 -3
  5. package/dist/bundle/{chunk-G6SC4YYW.js → chunk-JBR32RCG.js} +3 -3
  6. package/dist/bundle/{chunk-AMKLNEAK.js → chunk-US4QGESM.js} +18 -0
  7. package/dist/bundle/{chunk-QLHAP3FT.js → chunk-V3BASDCN.js} +1 -1
  8. package/dist/bundle/{chunk-FPY7FFJS.js → chunk-YL37EJB6.js} +11 -11
  9. package/dist/bundle/{cli-main-277AG2BR.js → cli-main-D7CFAHKG.js} +3 -3
  10. package/dist/bundle/cli.js +1 -1
  11. package/dist/bundle/{google-Q3AJWUOY.js → google-CSTXROSV.js} +1 -1
  12. package/dist/bundle/{google-vertex-2CSNOUBS.js → google-vertex-MEAR43KB.js} +1 -1
  13. package/dist/bundle/{main-TNXWJXIU.js → main-NKNJEUDP.js} +3 -3
  14. package/dist/bundle/{mistral-XRYJGLLG.js → mistral-VAF7JADB.js} +1 -1
  15. package/dist/bundle/{openai-codex-responses-C6BRO2BN.js → openai-codex-responses-RWZ6P4I3.js} +2 -2
  16. package/dist/bundle/{openai-completions-DNXCK2JW.js → openai-completions-CFB3BOTU.js} +1 -1
  17. package/dist/bundle/{openai-responses-BEMWVIXE.js → openai-responses-4OPGGCBI.js} +2 -2
  18. package/dist/core/model-registry.d.ts.map +1 -1
  19. package/dist/core/model-registry.js +1 -1
  20. package/dist/core/model-registry.js.map +1 -1
  21. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  22. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  23. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  24. package/examples/extensions/sandbox/package-lock.json +2 -2
  25. package/examples/extensions/sandbox/package.json +1 -1
  26. package/examples/extensions/with-deps/package-lock.json +2 -2
  27. package/examples/extensions/with-deps/package.json +1 -1
  28. package/examples/gpt-6-astra.models.json +24 -0
  29. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.1] - 2026-09-04
4
+
5
+ - Updated Codex catalog discovery to include GPT-6 Astra for eligible ChatGPT accounts and added an OAuth custom-model configuration example.
6
+
3
7
  ## [0.9.0] - 2026-09-03
4
8
 
5
9
  - Added native callable tools for MCP servers supplied by ACP clients. ([#2002](https://github.com/PrimeIntellect-ai/prime-agent/pull/2002))
@@ -37,7 +37,7 @@ import {
37
37
  AssistantMessageEventStream,
38
38
  calculateCost,
39
39
  clampThinkingLevel
40
- } from "./chunk-AMKLNEAK.js";
40
+ } from "./chunk-US4QGESM.js";
41
41
  import "./chunk-BAWSWWEU.js";
42
42
 
43
43
  // ../../node_modules/@anthropic-ai/sdk/internal/tslib.mjs
@@ -3,7 +3,7 @@ import {
3
3
  convertResponsesMessages,
4
4
  convertResponsesTools,
5
5
  processResponsesStream
6
- } from "./chunk-QLHAP3FT.js";
6
+ } from "./chunk-V3BASDCN.js";
7
7
  import "./chunk-NQB5DCFC.js";
8
8
  import {
9
9
  AzureOpenAI
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  AssistantMessageEventStream,
28
28
  clampThinkingLevel
29
- } from "./chunk-AMKLNEAK.js";
29
+ } from "./chunk-US4QGESM.js";
30
30
  import "./chunk-BAWSWWEU.js";
31
31
 
32
32
  // ../ai/src/providers/azure-openai-responses.ts
@@ -52,7 +52,7 @@ import {
52
52
  oauth_exports,
53
53
  runPrintMode,
54
54
  runRpcMode
55
- } from "./chunk-G6SC4YYW.js";
55
+ } from "./chunk-JBR32RCG.js";
56
56
  import {
57
57
  AgentSession,
58
58
  CURRENT_SESSION_VERSION,
@@ -136,7 +136,7 @@ import {
136
136
  withFileMutationQueue,
137
137
  wrapRegisteredTool,
138
138
  wrapRegisteredTools
139
- } from "./chunk-FPY7FFJS.js";
139
+ } from "./chunk-YL37EJB6.js";
140
140
  import "./chunk-VWR3YFK5.js";
141
141
  import "./chunk-N2CSAETN.js";
142
142
  import "./chunk-5QCJ5DQU.js";
@@ -149,7 +149,7 @@ import "./chunk-UIRUOAIQ.js";
149
149
  import "./chunk-HXOBFFJX.js";
150
150
  import "./chunk-6GUVYK6P.js";
151
151
  import "./chunk-UPDAFKL5.js";
152
- import "./chunk-AMKLNEAK.js";
152
+ import "./chunk-US4QGESM.js";
153
153
  import {
154
154
  __export
155
155
  } from "./chunk-BAWSWWEU.js";
@@ -329,7 +329,7 @@ import {
329
329
  waitForPromptAdmission,
330
330
  watchWithErrorHandler,
331
331
  wrapTextWithAnsi
332
- } from "./chunk-FPY7FFJS.js";
332
+ } from "./chunk-YL37EJB6.js";
333
333
  import {
334
334
  array,
335
335
  boolean,
@@ -366,7 +366,7 @@ import {
366
366
  getProviders,
367
367
  modelsAreEqual,
368
368
  supportsFastMode
369
- } from "./chunk-AMKLNEAK.js";
369
+ } from "./chunk-US4QGESM.js";
370
370
  import {
371
371
  __commonJS,
372
372
  __export,
@@ -25567,7 +25567,7 @@ function readOpenAICodexAccountId(token) {
25567
25567
  return void 0;
25568
25568
  }
25569
25569
  }
25570
- var OPENAI_CODEX_CLIENT_VERSION = "0.147.0";
25570
+ var OPENAI_CODEX_CLIENT_VERSION = "0.153.3";
25571
25571
  function openAICodexModelsUrl(baseUrl) {
25572
25572
  const normalized = baseUrl.replace(/\/+$/, "");
25573
25573
  let path6;
@@ -8954,6 +8954,24 @@ var MODELS = {
8954
8954
  },
8955
8955
  contextWindow: 272e3,
8956
8956
  maxTokens: 128e3
8957
+ },
8958
+ "gpt-6-astra": {
8959
+ id: "gpt-6-astra",
8960
+ name: "GPT-6 Astra",
8961
+ api: "openai-codex-responses",
8962
+ provider: "openai-codex",
8963
+ baseUrl: "https://chatgpt.com/backend-api",
8964
+ reasoning: true,
8965
+ thinkingLevelMap: { "off": null, "minimal": null, "xhigh": "xhigh", "max": "max" },
8966
+ input: ["text", "image"],
8967
+ cost: {
8968
+ input: 10,
8969
+ output: 50,
8970
+ cacheRead: 1,
8971
+ cacheWrite: 0
8972
+ },
8973
+ contextWindow: 272e3,
8974
+ maxTokens: 128e3
8957
8975
  }
8958
8976
  },
8959
8977
  "opencode": {
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-GG7GAQ5N.js";
16
16
  import {
17
17
  calculateCost
18
- } from "./chunk-AMKLNEAK.js";
18
+ } from "./chunk-US4QGESM.js";
19
19
 
20
20
  // ../ai/src/providers/openai-responses-shared.ts
21
21
  function encodeTextSignatureV1(id, phase) {
@@ -331,7 +331,7 @@ import {
331
331
  getSupportedThinkingLevels,
332
332
  modelsAreEqual,
333
333
  supportsFastMode
334
- } from "./chunk-AMKLNEAK.js";
334
+ } from "./chunk-US4QGESM.js";
335
335
  import {
336
336
  __commonJS,
337
337
  __export,
@@ -13575,7 +13575,7 @@ function createLazySimpleStream(loadModule) {
13575
13575
  };
13576
13576
  }
13577
13577
  function loadAnthropicProviderModule() {
13578
- anthropicProviderModulePromise ||= import("./anthropic-ZOZNPFXS.js").then((module) => {
13578
+ anthropicProviderModulePromise ||= import("./anthropic-2VRH36LG.js").then((module) => {
13579
13579
  const provider = module;
13580
13580
  return {
13581
13581
  stream: provider.streamAnthropic,
@@ -13585,7 +13585,7 @@ function loadAnthropicProviderModule() {
13585
13585
  return anthropicProviderModulePromise;
13586
13586
  }
13587
13587
  function loadAzureOpenAIResponsesProviderModule() {
13588
- azureOpenAIResponsesProviderModulePromise ||= import("./azure-openai-responses-TDHCU647.js").then((module) => {
13588
+ azureOpenAIResponsesProviderModulePromise ||= import("./azure-openai-responses-COYWHJPT.js").then((module) => {
13589
13589
  const provider = module;
13590
13590
  return {
13591
13591
  stream: provider.streamAzureOpenAIResponses,
@@ -13595,7 +13595,7 @@ function loadAzureOpenAIResponsesProviderModule() {
13595
13595
  return azureOpenAIResponsesProviderModulePromise;
13596
13596
  }
13597
13597
  function loadGoogleProviderModule() {
13598
- googleProviderModulePromise ||= import("./google-Q3AJWUOY.js").then((module) => {
13598
+ googleProviderModulePromise ||= import("./google-CSTXROSV.js").then((module) => {
13599
13599
  const provider = module;
13600
13600
  return {
13601
13601
  stream: provider.streamGoogle,
@@ -13605,7 +13605,7 @@ function loadGoogleProviderModule() {
13605
13605
  return googleProviderModulePromise;
13606
13606
  }
13607
13607
  function loadGoogleVertexProviderModule() {
13608
- googleVertexProviderModulePromise ||= import("./google-vertex-2CSNOUBS.js").then((module) => {
13608
+ googleVertexProviderModulePromise ||= import("./google-vertex-MEAR43KB.js").then((module) => {
13609
13609
  const provider = module;
13610
13610
  return {
13611
13611
  stream: provider.streamGoogleVertex,
@@ -13615,7 +13615,7 @@ function loadGoogleVertexProviderModule() {
13615
13615
  return googleVertexProviderModulePromise;
13616
13616
  }
13617
13617
  function loadMistralProviderModule() {
13618
- mistralProviderModulePromise ||= import("./mistral-XRYJGLLG.js").then((module) => {
13618
+ mistralProviderModulePromise ||= import("./mistral-VAF7JADB.js").then((module) => {
13619
13619
  const provider = module;
13620
13620
  return {
13621
13621
  stream: provider.streamMistral,
@@ -13625,7 +13625,7 @@ function loadMistralProviderModule() {
13625
13625
  return mistralProviderModulePromise;
13626
13626
  }
13627
13627
  function loadOpenAICodexResponsesProviderModule() {
13628
- openAICodexResponsesProviderModulePromise ||= import("./openai-codex-responses-C6BRO2BN.js").then((module) => {
13628
+ openAICodexResponsesProviderModulePromise ||= import("./openai-codex-responses-RWZ6P4I3.js").then((module) => {
13629
13629
  const provider = module;
13630
13630
  return {
13631
13631
  stream: provider.streamOpenAICodexResponses,
@@ -13635,7 +13635,7 @@ function loadOpenAICodexResponsesProviderModule() {
13635
13635
  return openAICodexResponsesProviderModulePromise;
13636
13636
  }
13637
13637
  function loadOpenAICompletionsProviderModule() {
13638
- openAICompletionsProviderModulePromise ||= import("./openai-completions-DNXCK2JW.js").then((module) => {
13638
+ openAICompletionsProviderModulePromise ||= import("./openai-completions-CFB3BOTU.js").then((module) => {
13639
13639
  const provider = module;
13640
13640
  return {
13641
13641
  stream: provider.streamOpenAICompletions,
@@ -13645,7 +13645,7 @@ function loadOpenAICompletionsProviderModule() {
13645
13645
  return openAICompletionsProviderModulePromise;
13646
13646
  }
13647
13647
  function loadOpenAIResponsesProviderModule() {
13648
- openAIResponsesProviderModulePromise ||= import("./openai-responses-BEMWVIXE.js").then((module) => {
13648
+ openAIResponsesProviderModulePromise ||= import("./openai-responses-4OPGGCBI.js").then((module) => {
13649
13649
  const provider = module;
13650
13650
  return {
13651
13651
  stream: provider.streamOpenAIResponses,
@@ -37402,7 +37402,7 @@ async function loadExtensionModule(extensionPath) {
37402
37402
  // (file-path aliases would load a second, divergent copy of each package).
37403
37403
  // Also disable tryNative so jiti handles ALL imports (not just the entry point)
37404
37404
  // In Node.js/dev: use aliases to resolve to node_modules paths
37405
- ...isBunBinary || isBundledCli ? { virtualModules: (await import("./bundled-modules-Q2YODC4B.js")).VIRTUAL_MODULES, tryNative: false } : { alias: getAliases() }
37405
+ ...isBunBinary || isBundledCli ? { virtualModules: (await import("./bundled-modules-YKMFOFDW.js")).VIRTUAL_MODULES, tryNative: false } : { alias: getAliases() }
37406
37406
  });
37407
37407
  const module = await jiti.import(extensionPath, { default: true });
37408
37408
  const factory = module;
@@ -59215,7 +59215,7 @@ import { resolve as resolve15 } from "node:path";
59215
59215
  var ASM_AGENT_BUILD_ID_ENV = "ASM_AGENT_BUILD_ID";
59216
59216
  var ASM_AGENT_LAUNCHER_PATH_ENV = "ASM_AGENT_LAUNCHER_PATH";
59217
59217
  function bundledBuildId() {
59218
- return false ? void 0 : "v0.8.7-8-g35ace0c1-dirty";
59218
+ return false ? void 0 : "v0.9.0-dirty";
59219
59219
  }
59220
59220
  function getDaemonRuntimeIdentity(environment = process.env) {
59221
59221
  const entrypoint = process.argv[1];
@@ -7,7 +7,7 @@ import {
7
7
  isOwnedSessionWorkerProcess,
8
8
  maybeRunOwnedSessionWorkerFrontend,
9
9
  maybeStartDaemonEarly
10
- } from "./chunk-FPY7FFJS.js";
10
+ } from "./chunk-YL37EJB6.js";
11
11
  import "./chunk-5QCJ5DQU.js";
12
12
  import "./chunk-CMMSLBAW.js";
13
13
  import "./chunk-2T7M7VJ4.js";
@@ -15,7 +15,7 @@ import "./chunk-UIRUOAIQ.js";
15
15
  import "./chunk-HXOBFFJX.js";
16
16
  import "./chunk-6GUVYK6P.js";
17
17
  import "./chunk-UPDAFKL5.js";
18
- import "./chunk-AMKLNEAK.js";
18
+ import "./chunk-US4QGESM.js";
19
19
  import "./chunk-BAWSWWEU.js";
20
20
 
21
21
  // dist/cli-main.js
@@ -182,7 +182,7 @@ async function runCli() {
182
182
  }
183
183
  const [{ EnvHttpProxyAgent, setGlobalDispatcher }, { main }] = await Promise.all([
184
184
  import("undici"),
185
- import("./main-TNXWJXIU.js")
185
+ import("./main-NKNJEUDP.js")
186
186
  ]);
187
187
  setGlobalDispatcher(new EnvHttpProxyAgent({ bodyTimeout: 0, headersTimeout: 0 }));
188
188
  try {
@@ -49,6 +49,6 @@ var supported = assertNodeVersion({
49
49
  exit: (code) => process.exit(code)
50
50
  });
51
51
  if (supported) {
52
- const { runCli } = await import("./cli-main-277AG2BR.js");
52
+ const { runCli } = await import("./cli-main-D7CFAHKG.js");
53
53
  await runCli();
54
54
  }
@@ -25,7 +25,7 @@ import {
25
25
  AssistantMessageEventStream,
26
26
  calculateCost,
27
27
  clampThinkingLevel
28
- } from "./chunk-AMKLNEAK.js";
28
+ } from "./chunk-US4QGESM.js";
29
29
  import "./chunk-BAWSWWEU.js";
30
30
 
31
31
  // ../ai/src/providers/google.ts
@@ -24,7 +24,7 @@ import {
24
24
  AssistantMessageEventStream,
25
25
  calculateCost,
26
26
  clampThinkingLevel
27
- } from "./chunk-AMKLNEAK.js";
27
+ } from "./chunk-US4QGESM.js";
28
28
  import "./chunk-BAWSWWEU.js";
29
29
 
30
30
  // ../ai/src/providers/google-vertex.ts
@@ -17,8 +17,8 @@ import {
17
17
  shouldUseDaemonClientRuntime,
18
18
  shouldUseDaemonInteractive,
19
19
  shouldUseEphemeralSessionManagerForDaemonInteractive
20
- } from "./chunk-G6SC4YYW.js";
21
- import "./chunk-FPY7FFJS.js";
20
+ } from "./chunk-JBR32RCG.js";
21
+ import "./chunk-YL37EJB6.js";
22
22
  import "./chunk-VWR3YFK5.js";
23
23
  import "./chunk-N2CSAETN.js";
24
24
  import "./chunk-5QCJ5DQU.js";
@@ -28,7 +28,7 @@ import "./chunk-UIRUOAIQ.js";
28
28
  import "./chunk-HXOBFFJX.js";
29
29
  import "./chunk-6GUVYK6P.js";
30
30
  import "./chunk-UPDAFKL5.js";
31
- import "./chunk-AMKLNEAK.js";
31
+ import "./chunk-US4QGESM.js";
32
32
  import "./chunk-BAWSWWEU.js";
33
33
  export {
34
34
  createSessionManager,
@@ -84,7 +84,7 @@ import {
84
84
  AssistantMessageEventStream,
85
85
  calculateCost,
86
86
  clampThinkingLevel
87
- } from "./chunk-AMKLNEAK.js";
87
+ } from "./chunk-US4QGESM.js";
88
88
  import "./chunk-BAWSWWEU.js";
89
89
 
90
90
  // ../../node_modules/@mistralai/mistralai/esm/lib/url.js
@@ -6,7 +6,7 @@ import {
6
6
  convertResponsesMessages,
7
7
  convertResponsesTools,
8
8
  processResponsesStream
9
- } from "./chunk-QLHAP3FT.js";
9
+ } from "./chunk-V3BASDCN.js";
10
10
  import "./chunk-NQB5DCFC.js";
11
11
  import {
12
12
  headersToRecord
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  AssistantMessageEventStream,
28
28
  clampThinkingLevel
29
- } from "./chunk-AMKLNEAK.js";
29
+ } from "./chunk-US4QGESM.js";
30
30
  import "./chunk-BAWSWWEU.js";
31
31
 
32
32
  // ../ai/src/providers/openai-codex-responses.ts
@@ -31,7 +31,7 @@ import {
31
31
  AssistantMessageEventStream,
32
32
  calculateCost,
33
33
  clampThinkingLevel
34
- } from "./chunk-AMKLNEAK.js";
34
+ } from "./chunk-US4QGESM.js";
35
35
  import "./chunk-BAWSWWEU.js";
36
36
 
37
37
  // ../ai/src/providers/openai-completions.ts
@@ -9,7 +9,7 @@ import {
9
9
  convertResponsesMessages,
10
10
  convertResponsesTools,
11
11
  processResponsesStream
12
- } from "./chunk-QLHAP3FT.js";
12
+ } from "./chunk-V3BASDCN.js";
13
13
  import "./chunk-NQB5DCFC.js";
14
14
  import {
15
15
  OpenAI
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  AssistantMessageEventStream,
34
34
  clampThinkingLevel
35
- } from "./chunk-AMKLNEAK.js";
35
+ } from "./chunk-US4QGESM.js";
36
36
  import "./chunk-BAWSWWEU.js";
37
37
 
38
38
  // ../ai/src/providers/openai-responses.ts