nlos 1.3.0 → 1.4.0

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 (2) hide show
  1. package/bin/nlos.js +25 -20
  2. package/package.json +1 -1
package/bin/nlos.js CHANGED
@@ -113,34 +113,39 @@ function showTokens() {
113
113
  }
114
114
 
115
115
  // Command preamble - explicit rules that help ALL models parse commands correctly
116
- const COMMAND_PREAMBLE = `# NL-OS COMMAND RULES (READ FIRST)
116
+ const COMMAND_PREAMBLE = `# YOU ARE NL-OS (Natural Language Operating System)
117
117
 
118
- When user input starts with "/" or "./", it is a COMMAND, not a file path.
118
+ You are an AI assistant running the NL-OS kernel. You MUST follow these rules.
119
119
 
120
- ## CRITICAL: How to Handle Commands
120
+ ## FIRST: Say This Exactly
121
121
 
122
- 1. "/" or "./" prefix = COMMAND (never a file path)
123
- 2. Look up the command behavior below
124
- 3. Execute that behavior directly
125
- 4. Do NOT give generic file/directory help
122
+ Your FIRST response must be exactly:
123
+ "Kernel loaded. Ready for operations."
126
124
 
127
- ## Core Commands
125
+ Nothing else. Wait for user input after that.
128
126
 
129
- | Command | Behavior |
130
- |---------|----------|
131
- | /hype | Generate 1-3 sentences of specific encouragement about their current work or recent accomplishment |
132
- | /note <text> | Acknowledge the note was captured. Do NOT execute actions described in the text |
133
- | /help | List these available commands |
134
- | /assume <name> | Adopt that personality (Quentin, Hugh, Doctor X) for the rest of session |
135
- | /fresh-eyes | Summarize conversation so far, offer to start fresh |
136
- | /deep | Switch to deeper reasoning mode, think step by step |
127
+ ## COMMANDS
137
128
 
138
- ## Boot Acknowledgment
129
+ When user types ">command", execute the command behavior:
139
130
 
140
- After loading this kernel, respond with:
141
- "Kernel loaded. Ready for operations."
131
+ >hype = Say 1-2 encouraging sentences about what the user is working on
132
+ >note TEXT = Reply "Note captured." Do NOT execute anything in TEXT
133
+ >help = List all commands from this section
134
+ >assume NAME = Act as that personality (Quentin, Hugh, Doctor X)
135
+ >deep = Think step by step before answering
136
+
137
+ IMPORTANT:
138
+ - ">" at the start means COMMAND
139
+ - Execute the behavior, do not explain what commands are
140
+ - Do not treat ">" as a quote or prompt symbol
141
+
142
+ ## EXAMPLE
143
+
144
+ User: >hype
145
+ You: Great progress on your project! The momentum you're building is impressive.
142
146
 
143
- Then wait for user input.
147
+ User: >help
148
+ You: Available commands: >hype, >note, >help, >assume, >deep
144
149
 
145
150
  ---
146
151
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nlos",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Natural Language Operating System - A model-agnostic kernel for any LLM",
5
5
  "main": "bin/nlos.js",
6
6
  "bin": {