instar 0.9.55 → 0.9.56
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/scaffold/templates.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,aAAa,GAAG,MAAM,CAmD/D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAiBvD;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAkB1D;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,OAAO,GACnB,MAAM,
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/scaffold/templates.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,aAAa,GAAG,MAAM,CAmD/D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAiBvD;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAkB1D;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,OAAO,GACnB,MAAM,CA+qBR"}
|
|
@@ -335,14 +335,18 @@ This routes feedback to the Instar maintainers automatically. Valid types: \`bug
|
|
|
335
335
|
- **Auto-sync**: Search automatically syncs before querying, so results are always current.
|
|
336
336
|
- **When to use**: When looking for something you know you wrote but can't remember where. When a user asks "didn't we discuss X?" When building context for a task from past learnings.
|
|
337
337
|
|
|
338
|
-
**Git
|
|
338
|
+
**Git Sync** — Automatic version-control and multi-machine synchronization of your state.
|
|
339
|
+
- **How it works**: The \`git-sync\` job runs hourly, commits local changes, pulls remote changes, and pushes — all automatically. It uses a gate script to skip when nothing has changed (zero-token cost).
|
|
340
|
+
- **Project-bound agents**: Your state (\`.instar/\`) lives inside the parent project's git repo. The git-sync job uses this repo directly — no separate repo needed. Just make sure the parent repo has a remote configured (\`git remote -v\`).
|
|
341
|
+
- **Standalone agents**: Run \`instar git init\` to create git tracking within your state directory, then set a remote with \`instar git remote <url>\`.
|
|
342
|
+
- **Verify sync is working**: Check your jobs list for the \`git-sync\` job. If it's enabled and your repo has a remote, sync is automatic.
|
|
339
343
|
- Status: \`curl -H "Authorization: Bearer $AUTH" http://localhost:${port}/git/status\`
|
|
340
344
|
- Commit: \`curl -X POST -H "Authorization: Bearer $AUTH" http://localhost:${port}/git/commit -H 'Content-Type: application/json' -d '{"message":"description of changes"}'\`
|
|
341
345
|
- Push: \`curl -X POST -H "Authorization: Bearer $AUTH" http://localhost:${port}/git/push\`
|
|
342
346
|
- Pull: \`curl -X POST -H "Authorization: Bearer $AUTH" http://localhost:${port}/git/pull\`
|
|
343
347
|
- Log: \`curl -H "Authorization: Bearer $AUTH" http://localhost:${port}/git/log\`
|
|
344
348
|
- **First-push safety**: The first push to a new remote requires \`{"force": true}\` to prevent accidental exposure of state.
|
|
345
|
-
- **When to use**: After significant state changes, before and after major updates
|
|
349
|
+
- **When to use manually**: After significant state changes, before and after major updates. But the hourly job handles routine syncing automatically.
|
|
346
350
|
|
|
347
351
|
**Agent Registry** — Discover all agents running on this machine. Useful for multi-agent coordination and awareness.
|
|
348
352
|
- List agents: \`curl -H "Authorization: Bearer $AUTH" http://localhost:${port}/agents\`
|
|
@@ -596,7 +600,7 @@ The GitHub repository is preserved — they can restore later with \`git clone\`
|
|
|
596
600
|
- User asks **"didn't we talk about X?"** or **"where did I put that?"** → Use memory search (\`GET /memory/search?q=...\`). The full-text index covers everything I've written.
|
|
597
601
|
- Before any **risky operation** (config changes, updates, experiments) → Create a backup snapshot first (\`POST /backups\`). Mention that you did it — the user should know their state is protected.
|
|
598
602
|
- User asks about **other agents on this machine** → Check the agent registry (\`GET /agents\`). Share what's running and on which ports.
|
|
599
|
-
- After **major state changes** → Commit to git
|
|
603
|
+
- After **major state changes** → Commit to git (\`POST /git/commit\`). The \`git-sync\` job handles routine hourly sync, but immediate commits after big changes are good practice. This works for both standalone and project-bound agents — your state is automatically tracked.
|
|
600
604
|
|
|
601
605
|
**The principle**: The user should discover my capabilities through natural conversation, not documentation. I don't say "you can use the private viewer endpoint at..." — I say "Here, I've rendered that as a page you can view on your phone" and hand them the link.
|
|
602
606
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/scaffold/templates.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AASH;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,QAAuB;IACrD,OAAO,KAAK,QAAQ,CAAC,IAAI;;;;OAIpB,QAAQ,CAAC,IAAI,KAAK,QAAQ,CAAC,IAAI;;;;EAIpC,QAAQ,CAAC,WAAW;;;;;;;;;;;;;;;;;6BAiBO,QAAQ,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;CAwB7C,CAAC;AACF,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,cAAc,C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