@ouro.bot/cli 0.1.0-alpha.640 → 0.1.0-alpha.642

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/changelog.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
3
3
  "versions": [
4
+ {
5
+ "version": "0.1.0-alpha.642",
6
+ "changes": [
7
+ "Make private-return packet trace source requests runtime-authoritative: outward ponder packet payloads now always record the latest originating user request as sourceRequest, even if the model supplies a lossy sourceRequest in payload_json; tool guidance now tells the model to preserve literal markers and constraints separately while the runtime owns sourceRequest."
8
+ ]
9
+ },
10
+ {
11
+ "version": "0.1.0-alpha.641",
12
+ "changes": [
13
+ "Package build hardening: the root build now runs through a test-covered orchestrator that fails at the first broken clean, TypeScript, Mailbox UI install/build, or asset-copy step instead of swallowing failures with a `mailbox-ui build skipped` fallback."
14
+ ]
15
+ },
4
16
  {
5
17
  "version": "0.1.0-alpha.640",
6
18
  "changes": [
@@ -1329,7 +1329,7 @@ async function runAgent(messages, callbacks, channel, signal, options) {
1329
1329
  if (!kind || !objective || !successCriteria || !payload) {
1330
1330
  throw new Error("ponder create requires kind, objective, success_criteria, and valid payload_json.");
1331
1331
  }
1332
- const packetPayload = sourceRequest && typeof payload.sourceRequest !== "string"
1332
+ const packetPayload = sourceRequest
1333
1333
  ? { ...payload, sourceRequest }
1334
1334
  : payload;
1335
1335
  const createLinkedReturnObligation = (id, packetId) => {
@@ -5,7 +5,7 @@ exports.ponderTool = {
5
5
  type: "function",
6
6
  function: {
7
7
  name: "ponder",
8
- description: "create or revise a typed ponder packet so i don't lose the plot while i keep working. use this for harness friction, research, or reflection that should survive the current turn. if the user asked me to think privately and return later from an outward session, preserve literal return tokens and constraints in payload_json/sourceRequest or success_criteria, then do not settle with the final private answer in the same outward turn; only acknowledge that the private pass is queued. in inner dialog, ponder only preserves state; it does not create a new self-return obligation, so surface any existing held item instead of pondering a replacement. ponder does not end the turn by itself and may be followed by more tools before i settle or rest. Don't ponder trivial questions.",
8
+ description: "create or revise a typed ponder packet so i don't lose the plot while i keep working. use this for harness friction, research, or reflection that should survive the current turn. if the user asked me to think privately and return later from an outward session, preserve literal return tokens and constraints in payload_json fields or success_criteria; the runtime records the latest user request as sourceRequest. then do not settle with the final private answer in the same outward turn; only acknowledge that the private pass is queued. in inner dialog, ponder only preserves state; it does not create a new self-return obligation, so surface any existing held item instead of pondering a replacement. ponder does not end the turn by itself and may be followed by more tools before i settle or rest. Don't ponder trivial questions.",
9
9
  parameters: {
10
10
  type: "object",
11
11
  properties: {
@@ -41,7 +41,7 @@ exports.ponderTool = {
41
41
  },
42
42
  payload_json: {
43
43
  type: "string",
44
- description: "JSON object string with packet-specific structured details. include sourceRequest when the user gave exact return wording, markers, or constraints the inner pass must preserve. use {} only when there are no such details.",
44
+ description: "JSON object string with packet-specific structured details. include exact markers, return wording fragments, or constraints the inner pass must preserve; sourceRequest is owned by the runtime from the latest user request. use {} only when there are no such details.",
45
45
  },
46
46
  thought: {
47
47
  type: "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.640",
3
+ "version": "0.1.0-alpha.642",
4
4
  "main": "dist/heart/daemon/ouro-entry.js",
5
5
  "bin": {
6
6
  "cli": "dist/heart/daemon/ouro-bot-entry.js",
@@ -36,7 +36,7 @@
36
36
  "test:mailbox-ui": "npm test --prefix packages/mailbox-ui",
37
37
  "test:coverage:vitest": "vitest run --coverage",
38
38
  "test:coverage": "node scripts/run-coverage-gate.cjs",
39
- "build": "node scripts/clean-dist.cjs && tsc && (cd packages/mailbox-ui && npm install --ignore-scripts 2>/dev/null && npm run build && cd ../.. && node scripts/copy-mailbox-ui.cjs) || echo 'mailbox-ui build skipped'",
39
+ "build": "node scripts/build.cjs",
40
40
  "lint": "eslint src/",
41
41
  "package:verify-assets": "node scripts/package-assets.cjs",
42
42
  "prepack": "npm run build && npm run package:verify-assets",