instar 0.6.8 → 0.6.9

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 CHANGED
@@ -158,7 +158,7 @@ Some claims are less proven: iOS app is "internal preview." Voice wake docs retu
158
158
 
159
159
  ### Where Instar leads
160
160
 
161
- **Runtime depth.** Each session is a full Claude Code instance -- extended thinking, native tools, sub-agents, MCP servers. Not an API wrapper.
161
+ **Runtime depth.** Each session is a full Claude Code instance -- extended thinking, native tools, sub-agents, MCP servers. Not an API wrapper. Agents ship with smart web conventions out of the box -- checking `llms.txt` and requesting Cloudflare markdown before falling back to raw HTML, cutting token costs by up to 80%.
162
162
 
163
163
  **Multi-session orchestration.** Multiple parallel jobs, each an independent Claude Code process with its own context and tools.
164
164
 
@@ -174,6 +174,28 @@ Different tools for different needs. But only one of them works today.
174
174
 
175
175
  ---
176
176
 
177
+ ## What Powers Your Agent
178
+
179
+ Your agent runs inside real Claude Code sessions. That means it inherits — automatically, invisibly — every capability Anthropic has built into Claude Code. Instar amplifies each one. The user just talks to their agent and gets results.
180
+
181
+ | What happens invisibly | Claude Code provides | Instar amplifies |
182
+ |------------------------|---------------------|-----------------|
183
+ | Long sessions don't crash | Auto-compaction manages context | Identity hooks re-inject who the agent is after every compaction |
184
+ | Costs stay reasonable | Prompt caching (90% savings on repeated content) | Cache-friendly architecture: stable CLAUDE.md, consistent job prompts |
185
+ | Complex tasks get deep reasoning | Extended thinking across model tiers | Per-job model routing: Opus for complex work, Haiku for routine checks |
186
+ | Risky commands don't cause damage | File checkpoints before every edit | Three-layer safety: catastrophic commands blocked, risky commands self-verified, edits reversible |
187
+ | Research happens naturally | Built-in web search and fetch | Domain-aware searching, result synthesis, automatic Telegram relay |
188
+ | Multiple things happen at once | Subagent spawning for parallel work | Context propagation — subagents inherit the agent's identity and project awareness |
189
+ | The agent builds its own tools | Bash execution, file system access | Self-authored scripts and skills that accumulate across sessions |
190
+ | Budget doesn't spiral | Token tracking per session | Quota-aware scheduling: automatic throttling when approaching limits |
191
+ | New Anthropic features just work | Model and capability upgrades | Zero integration work — every upgrade benefits every agent immediately |
192
+
193
+ **The user never sees any of this.** They have a conversation with their agent. The agent remembers what it learned last week, runs jobs while they sleep, creates its own tools when it needs them, and gets better over time. The complexity exists so the experience can be simple.
194
+
195
+ > Full technical breakdown: [Inherited Advantages](docs/research/instar/claude-code-inherited-advantages.md)
196
+
197
+ ---
198
+
177
199
  ## Core Features
178
200
 
179
201
  ### Job Scheduler
@@ -359,7 +381,7 @@ One agent's growing pain becomes every agent's growth.
359
381
  logs/ # Server logs
360
382
  .claude/ # Claude Code configuration
361
383
  settings.json # Hook registrations
362
- scripts/ # Health watchdog, Telegram relay
384
+ scripts/ # Health watchdog, Telegram relay, smart-fetch
363
385
  ```
364
386
 
365
387
  Everything is file-based. No database. JSON state files the agent can read and modify. tmux for session management -- battle-tested, survives disconnects, fully scriptable.
package/dist/cli.d.ts CHANGED
@@ -12,6 +12,9 @@
12
12
  * instar user add # Add a user profile
13
13
  * instar job add # Add a job definition
14
14
  * instar job list # List all jobs
15
+ * instar relationship list # List tracked relationships
16
+ * instar relationship import # Import from Portal people-registry
17
+ * instar relationship export # Export for Portal import
15
18
  * instar add telegram # Add Telegram messaging adapter
16
19
  */
17
20
  export {};
package/dist/cli.js CHANGED
@@ -12,6 +12,9 @@
12
12
  * instar user add # Add a user profile
13
13
  * instar job add # Add a job definition
14
14
  * instar job list # List all jobs
15
+ * instar relationship list # List tracked relationships
16
+ * instar relationship import # Import from Portal people-registry
17
+ * instar relationship export # Export for Portal import
15
18
  * instar add telegram # Add Telegram messaging adapter
16
19
  */
17
20
  import fs from 'node:fs';
@@ -23,6 +26,7 @@ import { startServer, stopServer } from './commands/server.js';
23
26
  import { showStatus } from './commands/status.js';
24
27
  import { addUser, listUsers } from './commands/user.js';
25
28
  import { addJob, listJobs } from './commands/job.js';
29
+ import { listRelationships, importRelationships, exportRelationships } from './commands/relationship.js';
26
30
  import pc from 'picocolors';
27
31
  import { getInstarVersion } from './core/Config.js';
28
32
  import { listInstances } from './core/PortRegistry.js';
@@ -386,6 +390,27 @@ userCmd
386
390
  .description('List all users')
387
391
  .option('-d, --dir <path>', 'Project directory')
388
392
  .action(listUsers);
393
+ // ── Relationship ─────────────────────────────────────────────────
394
+ const relCmd = program
395
+ .command('relationship')
396
+ .description('Manage relationship records (PROP-166)');
397
+ relCmd
398
+ .command('list')
399
+ .description('List all tracked relationships')
400
+ .option('--sort <by>', 'Sort by: significance, recent, name', 'significance')
401
+ .action(listRelationships);
402
+ relCmd
403
+ .command('import')
404
+ .description('Import relationships from Portal people-registry export')
405
+ .requiredOption('--file <path>', 'Path to Portal export JSON file')
406
+ .option('--dry-run', 'Preview what would be imported without making changes')
407
+ .action(importRelationships);
408
+ relCmd
409
+ .command('export')
410
+ .description('Export relationships for Portal import')
411
+ .option('--file <path>', 'Output file path (stdout if omitted)')
412
+ .option('--min-significance <n>', 'Minimum significance (1-10) to include', '0')
413
+ .action(exportRelationships);
389
414
  // ── Job ───────────────────────────────────────────────────────────
390
415
  const jobCmd = program
391
416
  .command('job')