instar 0.6.13 → 0.6.15
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/README.md +29 -0
- package/dist/core/Prerequisites.js +2 -1
- package/dist/scaffold/bootstrap.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -100,6 +100,35 @@ instar feedback --type bug --title "Session timeout" --description "Details..."
|
|
|
100
100
|
- **[Behavioral Hooks](#behavioral-hooks)** -- Structural guardrails: identity injection, dangerous command guards, grounding before messaging.
|
|
101
101
|
- **[Default Coherence Jobs](#default-coherence-jobs)** -- Health checks, reflection, relationship maintenance. A circadian rhythm out of the box.
|
|
102
102
|
- **[Feedback Loop](#the-feedback-loop-a-rising-tide-lifts-all-ships)** -- Your agent reports issues, we fix them, every agent gets the update. A rising tide lifts all ships.
|
|
103
|
+
- **[Agent Skills](#agent-skills)** -- 10 open-source skills for the [Agent Skills standard](https://agentskills.io). Use standalone or as an on-ramp to full Instar.
|
|
104
|
+
|
|
105
|
+
## Agent Skills
|
|
106
|
+
|
|
107
|
+
Instar ships 10 skills that follow the [Agent Skills open standard](https://agentskills.io) -- portable across Claude Code, Codex, Cursor, VS Code, and 35+ other platforms.
|
|
108
|
+
|
|
109
|
+
**Standalone skills** work with zero dependencies. Copy a SKILL.md into your project and go:
|
|
110
|
+
|
|
111
|
+
| Skill | What it does |
|
|
112
|
+
|-------|-------------|
|
|
113
|
+
| [agent-identity](skills/agent-identity/) | Set up persistent identity files so your agent knows who it is across sessions |
|
|
114
|
+
| [agent-memory](skills/agent-memory/) | Teach cross-session memory patterns using MEMORY.md |
|
|
115
|
+
| [command-guard](skills/command-guard/) | PreToolUse hook that blocks `rm -rf`, force push, database drops before they execute |
|
|
116
|
+
| [credential-leak-detector](skills/credential-leak-detector/) | PostToolUse hook that scans output for 14 credential patterns -- blocks, redacts, or warns |
|
|
117
|
+
| [smart-web-fetch](skills/smart-web-fetch/) | Fetch web content with automatic markdown conversion and intelligent extraction |
|
|
118
|
+
|
|
119
|
+
**Instar-powered skills** unlock capabilities that need persistent infrastructure:
|
|
120
|
+
|
|
121
|
+
| Skill | What it does |
|
|
122
|
+
|-------|-------------|
|
|
123
|
+
| [instar-scheduler](skills/instar-scheduler/) | Schedule recurring tasks on cron -- your agent works while you sleep |
|
|
124
|
+
| [instar-session](skills/instar-session/) | Spawn parallel background sessions for deep work |
|
|
125
|
+
| [instar-telegram](skills/instar-telegram/) | Two-way Telegram messaging -- your agent reaches out to you |
|
|
126
|
+
| [instar-identity](skills/instar-identity/) | Identity that survives context compaction -- grounding hooks, not just files |
|
|
127
|
+
| [instar-feedback](skills/instar-feedback/) | Report issues directly to the Instar maintainers from inside your agent |
|
|
128
|
+
|
|
129
|
+
Each standalone skill includes a "Going Further" section showing how Instar transforms the capability from manual to autonomous. Each Instar-powered skill gracefully detects missing Instar and offers one-command setup.
|
|
130
|
+
|
|
131
|
+
Browse all skills: [agent-skills.md/authors/sagemindai](https://agent-skills.md/authors/sagemindai)
|
|
103
132
|
|
|
104
133
|
## How It Works
|
|
105
134
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { execFileSync } from 'node:child_process';
|
|
8
8
|
import pc from 'picocolors';
|
|
9
|
-
|
|
9
|
+
// @inquirer/prompts imported dynamically — requires Node 20.12+
|
|
10
10
|
import { detectTmuxPath, detectClaudePath } from './Config.js';
|
|
11
11
|
/**
|
|
12
12
|
* Detect the current platform for install guidance.
|
|
@@ -231,6 +231,7 @@ export async function ensurePrerequisites() {
|
|
|
231
231
|
console.log();
|
|
232
232
|
console.log(` ${pc.red('✗')} ${missing.name} — not found`);
|
|
233
233
|
if (missing.canAutoInstall && missing.installCommand) {
|
|
234
|
+
const { confirm } = await import('@inquirer/prompts');
|
|
234
235
|
const install = await confirm({
|
|
235
236
|
message: `Install ${missing.name}? (${pc.dim(missing.installCommand)})`,
|
|
236
237
|
default: true,
|
|
@@ -7,13 +7,14 @@
|
|
|
7
7
|
* Every Instar agent has persistent identity, memory, and self-modification
|
|
8
8
|
* capabilities. The only choice is how much initiative the agent takes.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
// @inquirer/prompts imported dynamically — requires Node 20.12+
|
|
11
11
|
import pc from 'picocolors';
|
|
12
12
|
/**
|
|
13
13
|
* Run the interactive identity bootstrap.
|
|
14
14
|
* Returns the agent identity for template generation.
|
|
15
15
|
*/
|
|
16
16
|
export async function bootstrapIdentity(projectName) {
|
|
17
|
+
const { input, select } = await import('@inquirer/prompts');
|
|
17
18
|
console.log();
|
|
18
19
|
console.log(pc.bold(' Identity Bootstrap'));
|
|
19
20
|
console.log();
|