@hipp0/cli 0.1.0 → 0.1.2

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/LICENSE ADDED
@@ -0,0 +1,112 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but not
32
+ limited to compiled object code, generated documentation, and
33
+ conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work.
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship.
43
+
44
+ "Contribution" shall mean any work of authorship, including the original
45
+ version of the Work and any modifications or additions to that Work or
46
+ Derivative Works thereof, that is intentionally submitted to the Licensor
47
+ for inclusion in the Work by the copyright owner or by an individual or
48
+ Legal Entity authorized to submit on behalf of the copyright owner.
49
+
50
+ "Contributor" shall mean Licensor and any individual or Legal Entity on
51
+ behalf of whom a Contribution has been received by the Licensor and
52
+ subsequently incorporated within the Work.
53
+
54
+ 2. Grant of Copyright License. Subject to the terms and conditions of
55
+ this License, each Contributor hereby grants to You a perpetual,
56
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
57
+ copyright license to reproduce, prepare Derivative Works of,
58
+ publicly display, publicly perform, sublicense, and distribute the
59
+ Work and such Derivative Works in Source or Object form.
60
+
61
+ 3. Grant of Patent License. Subject to the terms and conditions of
62
+ this License, each Contributor hereby grants to You a perpetual,
63
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
64
+ patent license to make, have made, use, offer to sell, sell,
65
+ import, and otherwise transfer the Work.
66
+
67
+ 4. Redistribution. You may reproduce and distribute copies of the
68
+ Work or Derivative Works thereof in any medium, with or without
69
+ modifications, and in Source or Object form, provided that You
70
+ meet the following conditions:
71
+
72
+ (a) You must give any other recipients of the Work or Derivative
73
+ Works a copy of this License; and
74
+
75
+ (b) You must cause any modified files to carry prominent notices
76
+ stating that You changed the files; and
77
+
78
+ (c) You must retain, in the Source form of any Derivative Works
79
+ that You distribute, all copyright, patent, trademark, and
80
+ attribution notices from the Source form of the Work; and
81
+
82
+ (d) If the Work includes a "NOTICE" text file, You must include
83
+ a readable copy of the attribution notices contained within
84
+ such NOTICE file.
85
+
86
+ 5. Submission of Contributions.
87
+
88
+ 6. Trademarks. This License does not grant permission to use the trade
89
+ names, trademarks, service marks, or product names of the Licensor.
90
+
91
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed
92
+ to in writing, Licensor provides the Work on an "AS IS" BASIS,
93
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
94
+
95
+ 8. Limitation of Liability. In no event and under no legal theory shall
96
+ any Contributor be liable to You for damages.
97
+
98
+ 9. Accepting Warranty or Additional Liability.
99
+
100
+ Copyright 2026 Perlantir
101
+
102
+ Licensed under the Apache License, Version 2.0 (the "License");
103
+ you may not use this file except in compliance with the License.
104
+ You may obtain a copy of the License at
105
+
106
+ http://www.apache.org/licenses/LICENSE-2.0
107
+
108
+ Unless required by applicable law or agreed to in writing, software
109
+ distributed under the License is distributed on an "AS IS" BASIS,
110
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
111
+ See the License for the specific language governing permissions and
112
+ limitations under the License.
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=hipp0-cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hipp0-cli.d.ts","sourceRoot":"","sources":["../src/hipp0-cli.ts"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ #!/usr/bin/env node
2
+ import { Command } from 'commander';
3
+ import { registerInitCommand } from './commands/init.js';
4
+ import { registerDecisionCommands } from './commands/decisions.js';
5
+ import { registerCompileCommand } from './commands/compile.js';
6
+ import { registerDistillCommand } from './commands/distill.js';
7
+ import { registerAgentCommands } from './commands/agents.js';
8
+ import { registerNotificationCommands } from './commands/notifications.js';
9
+ import { registerStatusCommands } from './commands/status.js';
10
+ import { registerServerCommands } from './commands/server.js';
11
+ import { registerExportImportCommands } from './commands/export-import.js';
12
+ import { registerShortcutCommands } from './commands/shortcuts.js';
13
+ const program = new Command();
14
+ program
15
+ .name('hipp0')
16
+ .description('Hipp0 — AI team memory, decision tracking, and context compilation')
17
+ .version('0.1.0');
18
+ // Top-level shortcut commands (add, ask, search, list)
19
+ registerShortcutCommands(program);
20
+ // Full command groups
21
+ registerInitCommand(program);
22
+ registerDecisionCommands(program);
23
+ registerCompileCommand(program);
24
+ registerDistillCommand(program);
25
+ registerAgentCommands(program);
26
+ registerNotificationCommands(program);
27
+ registerStatusCommands(program);
28
+ registerServerCommands(program);
29
+ registerExportImportCommands(program);
30
+ program.parse(process.argv);
31
+ if (process.argv.length < 3) {
32
+ program.outputHelp();
33
+ }
34
+ //# sourceMappingURL=hipp0-cli.js.map
@@ -0,0 +1 @@
1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CAAC;AAEtC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAE5B,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;IAC5B,OAAO,CAAC,UAAU,EAAE,CAAC;AACvB,CAAC"}
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@hipp0/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Command-line interface for Hipp0",
5
5
  "author": "Perlantir",
6
- "repository": {"type": "git", "url": "https://github.com/perlantir/hipp0"},
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/perlantir/hipp0"
9
+ },
7
10
  "type": "module",
8
11
  "bin": {
9
12
  "hipp0": "./dist/hipp0-cli.js"
@@ -12,25 +15,25 @@
12
15
  "dist",
13
16
  "README.md"
14
17
  ],
15
- "scripts": {
16
- "build": "tsc",
17
- "dev": "tsx src/hipp0-cli.ts",
18
- "test": "vitest run",
19
- "clean": "rm -rf dist"
20
- },
21
18
  "dependencies": {
22
- "@hipp0/core": "workspace:*",
23
- "@hipp0/sdk": "workspace:*",
24
- "@hipp0/server": "workspace:*",
25
19
  "better-sqlite3": "^12.8.0",
26
20
  "commander": "^12.1.0",
27
21
  "chalk": "^5.3.0",
28
- "ora": "^8.1.0"
22
+ "ora": "^8.1.0",
23
+ "@hipp0/core": "0.1.1",
24
+ "@hipp0/sdk": "0.1.2",
25
+ "@hipp0/server": "0.1.1"
29
26
  },
30
27
  "devDependencies": {
31
28
  "@types/better-sqlite3": "^7.6.13",
32
29
  "typescript": "^5.7.0",
33
30
  "tsx": "^4.19.0",
34
31
  "vitest": "^2.1.0"
32
+ },
33
+ "scripts": {
34
+ "build": "tsc",
35
+ "dev": "tsx src/hipp0-cli.ts",
36
+ "test": "vitest run",
37
+ "clean": "rm -rf dist"
35
38
  }
36
- }
39
+ }