instar 0.6.12 → 0.6.14

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 (3) hide show
  1. package/README.md +29 -0
  2. package/dist/cli.js +23 -3
  3. 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
 
package/dist/cli.js CHANGED
@@ -21,7 +21,7 @@ import fs from 'node:fs';
21
21
  import path from 'node:path';
22
22
  import { Command } from 'commander';
23
23
  import { initProject } from './commands/init.js';
24
- import { runSetup } from './commands/setup.js';
24
+ // setup.ts is imported dynamically — it depends on @inquirer/prompts which requires Node 20.12+
25
25
  import { startServer, stopServer } from './commands/server.js';
26
26
  import { showStatus } from './commands/status.js';
27
27
  import { addUser, listUsers } from './commands/user.js';
@@ -257,13 +257,33 @@ program
257
257
  .description('Persistent autonomy infrastructure for AI agents')
258
258
  .version(getInstarVersion())
259
259
  .option('--classic', 'Use the classic inquirer-based setup wizard instead of Claude')
260
- .action((opts) => runSetup(opts)); // Default: run interactive setup when no subcommand given
260
+ .action(async (opts) => {
261
+ const [major, minor] = process.versions.node.split('.').map(Number);
262
+ if (major < 20 || (major === 20 && minor < 12)) {
263
+ console.error(`\n Instar setup requires Node.js 20.12 or later.`);
264
+ console.error(` You're running Node.js ${process.versions.node}.`);
265
+ console.error(`\n Upgrade: https://nodejs.org/en/download\n`);
266
+ process.exit(1);
267
+ }
268
+ const { runSetup } = await import('./commands/setup.js');
269
+ return runSetup(opts);
270
+ }); // Default: run interactive setup when no subcommand given
261
271
  // ── Setup (explicit alias) ────────────────────────────────────────
262
272
  program
263
273
  .command('setup')
264
274
  .description('Interactive setup wizard (same as running `instar` with no args)')
265
275
  .option('--classic', 'Use the classic inquirer-based setup wizard instead of Claude')
266
- .action((opts) => runSetup(opts));
276
+ .action(async (opts) => {
277
+ const [major, minor] = process.versions.node.split('.').map(Number);
278
+ if (major < 20 || (major === 20 && minor < 12)) {
279
+ console.error(`\n Instar setup requires Node.js 20.12 or later.`);
280
+ console.error(` You're running Node.js ${process.versions.node}.`);
281
+ console.error(`\n Upgrade: https://nodejs.org/en/download\n`);
282
+ process.exit(1);
283
+ }
284
+ const { runSetup } = await import('./commands/setup.js');
285
+ return runSetup(opts);
286
+ });
267
287
  // ── Init ─────────────────────────────────────────────────────────
268
288
  program
269
289
  .command('init [project-name]')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instar",
3
- "version": "0.6.12",
3
+ "version": "0.6.14",
4
4
  "description": "Persistent autonomy infrastructure for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",