@memnexus-ai/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/package.json +9 -2
- package/.env.example +0 -13
- package/.eslintrc.js +0 -24
- package/.github/ISSUE_TEMPLATE/phase-1-foundation.md +0 -1078
- package/.github/workflows/publish.yml +0 -277
- package/.github/workflows/test-app-token.yml +0 -54
- package/.npmrc.backup +0 -3
- package/.npmrc.example +0 -6
- package/.prettierignore +0 -4
- package/.prettierrc +0 -8
- package/PLATFORM_TESTING.md +0 -243
- package/RELEASE.md +0 -428
- package/RELEASE_READINESS.md +0 -253
- package/docs/README.md +0 -219
- package/docs/code-generation-strategy.md +0 -560
- package/docs/prd.md +0 -748
- package/docs/sync-strategy.md +0 -533
- package/jest.config.js +0 -30
- package/scripts/install-deps.sh +0 -38
- package/src/commands/apikeys.ts +0 -144
- package/src/commands/artifacts.ts +0 -296
- package/src/commands/auth.ts +0 -122
- package/src/commands/communities.ts +0 -153
- package/src/commands/config.ts +0 -144
- package/src/commands/conversations.ts +0 -176
- package/src/commands/facts.ts +0 -320
- package/src/commands/graphrag.ts +0 -149
- package/src/commands/memories.ts +0 -332
- package/src/commands/patterns.ts +0 -251
- package/src/commands/system.ts +0 -102
- package/src/commands/topics.ts +0 -354
- package/src/index.ts +0 -43
- package/src/lib/api-client.ts +0 -68
- package/src/lib/auth.ts +0 -42
- package/src/lib/config.ts +0 -68
- package/src/lib/errors.ts +0 -143
- package/src/lib/formatters.ts +0 -123
- package/src/lib/spinner.ts +0 -113
- package/src/lib/validators.ts +0 -302
- package/src/types/index.ts +0 -17
- package/tests/__mocks__/chalk.ts +0 -16
- package/tests/__mocks__/cli-table3.ts +0 -37
- package/tests/__mocks__/configstore.ts +0 -38
- package/tests/commands/apikeys.test.ts +0 -179
- package/tests/commands/artifacts.test.ts +0 -194
- package/tests/commands/auth.test.ts +0 -120
- package/tests/commands/communities.test.ts +0 -154
- package/tests/commands/config.test.ts +0 -154
- package/tests/commands/conversations.test.ts +0 -136
- package/tests/commands/facts.test.ts +0 -210
- package/tests/commands/graphrag.test.ts +0 -194
- package/tests/commands/memories.test.ts +0 -215
- package/tests/commands/patterns.test.ts +0 -201
- package/tests/commands/system.test.ts +0 -172
- package/tests/commands/topics.test.ts +0 -274
- package/tests/lib/auth.test.ts +0 -77
- package/tests/lib/config.test.ts +0 -50
- package/tests/lib/errors.test.ts +0 -126
- package/tests/lib/formatters.test.ts +0 -87
- package/tsconfig.json +0 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memnexus-ai/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Command-line interface for MemNexus Core API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -25,11 +25,18 @@
|
|
|
25
25
|
"ai"
|
|
26
26
|
],
|
|
27
27
|
"author": "MemNexus Team",
|
|
28
|
-
"license": "
|
|
28
|
+
"license": "MIT",
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
31
31
|
"url": "https://github.com/memnexus-ai/mx-cli.git"
|
|
32
32
|
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist/",
|
|
35
|
+
"bin/",
|
|
36
|
+
"README.md",
|
|
37
|
+
"CHANGELOG.md",
|
|
38
|
+
"USAGE.md"
|
|
39
|
+
],
|
|
33
40
|
"publishConfig": {
|
|
34
41
|
"access": "public"
|
|
35
42
|
},
|
package/.env.example
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# MemNexus CLI Configuration
|
|
2
|
-
# Copy this file to .env and fill in your actual values
|
|
3
|
-
|
|
4
|
-
# API Configuration
|
|
5
|
-
MX_API_URL=http://api.memnexus.ai
|
|
6
|
-
MX_API_KEY=your-api-key-here
|
|
7
|
-
|
|
8
|
-
# Output Format (json|table|yaml)
|
|
9
|
-
MX_OUTPUT_FORMAT=table
|
|
10
|
-
|
|
11
|
-
# Default Page Size
|
|
12
|
-
MX_DEFAULT_PAGE_SIZE=20
|
|
13
|
-
|
package/.eslintrc.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
parser: '@typescript-eslint/parser',
|
|
3
|
-
extends: [
|
|
4
|
-
'eslint:recommended',
|
|
5
|
-
'plugin:@typescript-eslint/recommended',
|
|
6
|
-
'prettier'
|
|
7
|
-
],
|
|
8
|
-
plugins: ['@typescript-eslint', 'prettier'],
|
|
9
|
-
parserOptions: {
|
|
10
|
-
ecmaVersion: 2022,
|
|
11
|
-
sourceType: 'module',
|
|
12
|
-
project: './tsconfig.json'
|
|
13
|
-
},
|
|
14
|
-
rules: {
|
|
15
|
-
'prettier/prettier': 'error',
|
|
16
|
-
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
|
17
|
-
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
18
|
-
'@typescript-eslint/no-explicit-any': 'warn'
|
|
19
|
-
},
|
|
20
|
-
env: {
|
|
21
|
-
node: true,
|
|
22
|
-
es2022: true
|
|
23
|
-
}
|
|
24
|
-
};
|