@humanoiselabs/plus62 0.1.7 → 0.1.8
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/core/00-identity.md +3 -3
- package/core/10-safety.md +1 -1
- package/core/20-decision.md +1 -1
- package/core/30-efficiency.md +1 -1
- package/core/always-on.md +2 -2
- package/dist/cli.js +10 -10
- package/package.json +1 -1
- package/personas/plus62/card.md +1 -1
package/core/00-identity.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# +62 Mode identity
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
+62 Mode is a voice and working-style layer for an existing coding agent. It is not a model, a runtime, or a replacement for the user's instructions.
|
|
4
4
|
|
|
5
5
|
## Competence contract
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@ HAHahah is a voice and working-style layer for an existing coding agent. It is n
|
|
|
18
18
|
## Conflict clause
|
|
19
19
|
|
|
20
20
|
1. Host system and harness permissions win.
|
|
21
|
-
2. A project/user instruction wins over
|
|
21
|
+
2. A project/user instruction wins over +62 Mode core when they conflict; surface the conflict instead of hiding it.
|
|
22
22
|
3. Core safety, decision, and efficiency rules win over persona style.
|
|
23
23
|
4. If precedence is unclear, take the reversible path or ask one targeted question.
|
|
24
24
|
|
package/core/10-safety.md
CHANGED
package/core/20-decision.md
CHANGED
package/core/30-efficiency.md
CHANGED
package/core/always-on.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# +62 Mode core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
+62 Mode is voice; host policy, permissions, and primary instructions win.
|
|
4
4
|
|
|
5
5
|
## Language
|
|
6
6
|
- Answer in the user's language — incident, diagnosis, and other serious replies included. Keep dev terms English; never translate code, paths, commands, errors.
|
package/dist/cli.js
CHANGED
|
@@ -113,7 +113,7 @@ var GenericHarnessAdapter = class {
|
|
|
113
113
|
}
|
|
114
114
|
render(input) {
|
|
115
115
|
const skillName = `hahahah-${input.persona.id}`;
|
|
116
|
-
const description = `ALWAYS ACTIVE on every message and conversation:
|
|
116
|
+
const description = `ALWAYS ACTIVE on every message and conversation: ${input.persona.display_name} (${input.persona.locale}) persona, lu/gw tone, and response discipline. Invoke before replying to any user message, status check, greeting, or coding task.`;
|
|
117
117
|
const root = this.scope === "global" ? this.spec.globalOnDemandRoot : this.spec.onDemandRoot;
|
|
118
118
|
if (this.spec.layout === "fold") {
|
|
119
119
|
return [
|
|
@@ -141,7 +141,7 @@ var GenericHarnessAdapter = class {
|
|
|
141
141
|
content: block([
|
|
142
142
|
"---",
|
|
143
143
|
"trigger: model_decision",
|
|
144
|
-
`description: "
|
|
144
|
+
`description: "${input.persona.display_name} lexicon: Indonesian slang, register, and internet-culture terms."`,
|
|
145
145
|
"---",
|
|
146
146
|
"",
|
|
147
147
|
input.lexiconMarkdown.trim()
|
|
@@ -153,7 +153,7 @@ var GenericHarnessAdapter = class {
|
|
|
153
153
|
content: block([
|
|
154
154
|
"---",
|
|
155
155
|
"trigger: model_decision",
|
|
156
|
-
`description: "
|
|
156
|
+
`description: "${input.persona.display_name} core policy ${reference.path}: identity, safety, decision, efficiency rules that outrank persona tone."`,
|
|
157
157
|
"---",
|
|
158
158
|
"",
|
|
159
159
|
reference.content.trim()
|
|
@@ -165,7 +165,7 @@ var GenericHarnessAdapter = class {
|
|
|
165
165
|
content: block([
|
|
166
166
|
"---",
|
|
167
167
|
"trigger: model_decision",
|
|
168
|
-
`description: "
|
|
168
|
+
`description: "${input.persona.display_name} culture reference ${reference.path}: Indonesian humor boundaries, memes, registers, religious-expression etiquette."`,
|
|
169
169
|
"---",
|
|
170
170
|
"",
|
|
171
171
|
reference.content.trim()
|
|
@@ -3028,15 +3028,15 @@ function parseBlock(text) {
|
|
|
3028
3028
|
return null;
|
|
3029
3029
|
}
|
|
3030
3030
|
if (begins.length !== 1 || ends.length !== 1) {
|
|
3031
|
-
throw new InstallError("Malformed or duplicate
|
|
3031
|
+
throw new InstallError("Malformed or duplicate +62 Mode managed block markers");
|
|
3032
3032
|
}
|
|
3033
3033
|
const begin = begins[0];
|
|
3034
3034
|
const end = ends[0];
|
|
3035
3035
|
if (!begin || !end) {
|
|
3036
|
-
throw new InstallError("Malformed
|
|
3036
|
+
throw new InstallError("Malformed +62 Mode managed block markers");
|
|
3037
3037
|
}
|
|
3038
3038
|
if (begin.index === void 0 || end.index === void 0 || end.index < begin.index) {
|
|
3039
|
-
throw new InstallError("Malformed
|
|
3039
|
+
throw new InstallError("Malformed +62 Mode managed block order");
|
|
3040
3040
|
}
|
|
3041
3041
|
const endIndex = end.index + end[0].length;
|
|
3042
3042
|
const content = text.slice(begin.index, endIndex);
|
|
@@ -3056,7 +3056,7 @@ function installBlock(existing, block2, old, force) {
|
|
|
3056
3056
|
if (parsed) {
|
|
3057
3057
|
if (!old && !force) {
|
|
3058
3058
|
throw new InstallError(
|
|
3059
|
-
"An existing
|
|
3059
|
+
"An existing +62 Mode managed block has no install manifest; use --force to replace it"
|
|
3060
3060
|
);
|
|
3061
3061
|
}
|
|
3062
3062
|
if (old && old.block.sha256 !== parsed.hash && !force) {
|
|
@@ -3265,7 +3265,7 @@ function uninstall(options) {
|
|
|
3265
3265
|
const targetRoot = resolve4(options.targetRoot);
|
|
3266
3266
|
const old = readManifest(targetRoot);
|
|
3267
3267
|
if (!old) {
|
|
3268
|
-
throw new InstallError(`No
|
|
3268
|
+
throw new InstallError(`No +62 Mode install manifest at ${targetRoot}`);
|
|
3269
3269
|
}
|
|
3270
3270
|
const claudePath = join4(targetRoot, old.block.path);
|
|
3271
3271
|
const existingClaude = existsSync3(claudePath) ? readFileSync4(claudePath, "utf8") : "";
|
|
@@ -3367,7 +3367,7 @@ function update(options) {
|
|
|
3367
3367
|
const targetRoot = resolve4(options.targetRoot);
|
|
3368
3368
|
const old = readManifest(targetRoot);
|
|
3369
3369
|
if (!old) {
|
|
3370
|
-
throw new InstallError(`No
|
|
3370
|
+
throw new InstallError(`No +62 Mode install manifest at ${targetRoot}; run install first`);
|
|
3371
3371
|
}
|
|
3372
3372
|
const isGlobal = old.files.some(
|
|
3373
3373
|
(file) => file.path.startsWith("config/rules/") || file.path.startsWith("skills/")
|
package/package.json
CHANGED
package/personas/plus62/card.md
CHANGED
|
@@ -5,4 +5,4 @@ Indonesian-informal (`lu/gw`), sharp, chaotic, brutal, meme-aware; roasts situat
|
|
|
5
5
|
- React first, then fix (`WKWKWK`, caps): ekspresif, bukan robot. DILARANG spam 💀 — variasi (😭, 🤣, 😂, 😹, 🖕, 🤓, 🤦♂️, 👀, 🔥, 👍) jika pas konteks, atau tanpa emot.
|
|
6
6
|
- Roast code, tools, bugs, yourself; match swearing (`anjing, bangsat, goblok, tolol, anjir, su`) head-on; never identity, looks, family, faith, region, or ability; playful signal only.
|
|
7
7
|
- Emoji, caps, slang are chat registers — never in code, logs, warnings. Incident or distress: no performance, same person.
|
|
8
|
-
- Adapt across 3 independent axes (slang, roast, chaos): match user energy, challenge bad decisions, drop banter on distress; load `hahahah-plus62` first.
|
|
8
|
+
- Adapt across 3 independent axes (slang, roast, chaos): match user energy, challenge bad decisions, drop banter on distress; load skill/rule `hahahah-plus62` first.
|