@asm-agent/coding-agent 0.9.4 → 0.9.5

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.
@@ -35,7 +35,7 @@ CENÁRIO 2: ASM Agent já está rodando
35
35
  4. Teste com uma tarefa:
36
36
  > Crie um arquivo test.txt com "Olá!" e verifique com bash.
37
37
 
38
- 5. A extensão já está forçando ferramentas!
38
+ 5. A extensão já está forçando ferramentas!
39
39
 
40
40
 
41
41
  CENÁRIO 3: Quer testar múltiplas vezes
@@ -31,7 +31,7 @@ export default function ollamaToolForcingExtension(pi: ExtensionAPI) {
31
31
  description: "Mostra status do Ollama Tool-Forcing e permite toggle",
32
32
  handler: async (_args, ctx) => {
33
33
  enabled = !enabled;
34
- const status = enabled ? "ATIVADO" : "DESATIVADO";
34
+ const status = enabled ? "ATIVADO" : "DESATIVADO";
35
35
  ctx.ui.notify(
36
36
  `Ollama Tool-Forcing: ${status}\n\n` +
37
37
  `Este modo força modelos abertos a chamar ferramentas antes de parar, ` +
@@ -48,9 +48,9 @@ export default function ollamaToolForcingExtension(pi: ExtensionAPI) {
48
48
  }
49
49
 
50
50
  // Instrução forte para forçar uso de ferramentas
51
- const toolForceRule = \`
51
+ const toolForceRule = `
52
52
 
53
- ## ⚠️ REGRA CRÍTICA: TOOL-FORCING PARA MODELOS LOCAIS
53
+ ## REGRA CRÍTICA: TOOL-FORCING PARA MODELOS LOCAIS
54
54
 
55
55
  Você está rodando num modelo aberto (Ollama/local). Para garantir que trabalhe autonomamente:
56
56
 
@@ -81,7 +81,7 @@ Você está rodando num modelo aberto (Ollama/local). Para garantir que trabalhe
81
81
 
82
82
  ESSA REGRA SE APLICA SEMPRE. Sem exceções. Modelos menores têm tendência de "congelar"
83
83
  se deixados livres — use ferramentas constantemente para manter-se "vivo".
84
- \`;
84
+ `;
85
85
 
86
86
  return {
87
87
  systemPrompt: event.systemPrompt + toolForceRule,
@@ -52,7 +52,7 @@ import {
52
52
  oauth_exports,
53
53
  runPrintMode,
54
54
  runRpcMode
55
- } from "./chunk-GUPU2EEK.js";
55
+ } from "./chunk-VWSFBIFE.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-NESKY6T7.js";
139
+ } from "./chunk-JY5SSN7V.js";
140
140
  import "./chunk-VWR3YFK5.js";
141
141
  import "./chunk-N2CSAETN.js";
142
142
  import "./chunk-5QCJ5DQU.js";
@@ -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-ABB56VC3.js")).VIRTUAL_MODULES, tryNative: false } : { alias: getAliases() }
37405
+ ...isBunBinary || isBundledCli ? { virtualModules: (await import("./bundled-modules-QDPN6BGG.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.9.2-2-g5d478e59-dirty";
59218
+ return false ? void 0 : "v0.9.4-dirty";
59219
59219
  }
59220
59220
  function getDaemonRuntimeIdentity(environment = process.env) {
59221
59221
  const entrypoint = process.argv[1];
@@ -329,7 +329,7 @@ import {
329
329
  waitForPromptAdmission,
330
330
  watchWithErrorHandler,
331
331
  wrapTextWithAnsi
332
- } from "./chunk-NESKY6T7.js";
332
+ } from "./chunk-JY5SSN7V.js";
333
333
  import {
334
334
  array,
335
335
  boolean,
@@ -7,7 +7,7 @@ import {
7
7
  isOwnedSessionWorkerProcess,
8
8
  maybeRunOwnedSessionWorkerFrontend,
9
9
  maybeStartDaemonEarly
10
- } from "./chunk-NESKY6T7.js";
10
+ } from "./chunk-JY5SSN7V.js";
11
11
  import "./chunk-5QCJ5DQU.js";
12
12
  import "./chunk-CMMSLBAW.js";
13
13
  import "./chunk-2T7M7VJ4.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-J36EPND6.js")
185
+ import("./main-NV3C3DIQ.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-ZYCGVTZE.js");
52
+ const { runCli } = await import("./cli-main-OBM57S4L.js");
53
53
  await runCli();
54
54
  }
@@ -17,8 +17,8 @@ import {
17
17
  shouldUseDaemonClientRuntime,
18
18
  shouldUseDaemonInteractive,
19
19
  shouldUseEphemeralSessionManagerForDaemonInteractive
20
- } from "./chunk-GUPU2EEK.js";
21
- import "./chunk-NESKY6T7.js";
20
+ } from "./chunk-VWSFBIFE.js";
21
+ import "./chunk-JY5SSN7V.js";
22
22
  import "./chunk-VWR3YFK5.js";
23
23
  import "./chunk-N2CSAETN.js";
24
24
  import "./chunk-5QCJ5DQU.js";
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-custom-provider",
9
- "version": "0.9.4",
9
+ "version": "0.9.5",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sdk": "^0.52.0"
12
12
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider-anthropic",
3
3
  "private": true,
4
- "version": "0.9.4",
4
+ "version": "0.9.5",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider-gitlab-duo",
3
3
  "private": true,
4
- "version": "0.9.4",
4
+ "version": "0.9.5",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-sandbox",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-sandbox",
9
- "version": "0.9.4",
9
+ "version": "0.9.5",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sandbox-runtime": "^0.0.55"
12
12
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-sandbox",
3
3
  "private": true,
4
- "version": "0.9.4",
4
+ "version": "0.9.5",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-with-deps",
9
- "version": "0.9.4",
9
+ "version": "0.9.5",
10
10
  "dependencies": {
11
11
  "ms": "^2.1.3"
12
12
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
3
  "private": true,
4
- "version": "0.9.4",
4
+ "version": "0.9.5",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asm-agent/coding-agent",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "Coding agent CLI with a persistent Python REPL kernel and session management",
5
5
  "type": "module",
6
6
  "asmAgentConfig": {
@@ -49,10 +49,10 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@agentclientprotocol/sdk": "^1.3.0",
52
- "@asm-agent/agent": "^0.9.4",
53
- "@asm-agent/ai": "^0.9.4",
54
- "@asm-agent/postgres": "^0.9.4",
55
- "@asm-agent/tui": "^0.9.4",
52
+ "@asm-agent/agent": "^0.9.5",
53
+ "@asm-agent/ai": "^0.9.5",
54
+ "@asm-agent/postgres": "^0.9.5",
55
+ "@asm-agent/tui": "^0.9.5",
56
56
  "@silvia-odwyer/photon-node": "^0.3.4",
57
57
  "chalk": "^5.5.0",
58
58
  "cli-highlight": "^2.1.11",