nulara 0.2.0__tar.gz → 0.3.0__tar.gz
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.
- {nulara-0.2.0 → nulara-0.3.0}/PKG-INFO +8 -12
- {nulara-0.2.0 → nulara-0.3.0}/README.md +6 -6
- {nulara-0.2.0 → nulara-0.3.0}/pyproject.toml +2 -6
- {nulara-0.2.0 → nulara-0.3.0}/src/nulara/__init__.py +2 -2
- {nulara-0.2.0 → nulara-0.3.0}/src/nulara/skill/SKILL.md +0 -1
- {nulara-0.2.0 → nulara-0.3.0}/src/nulara/spec.json +8038 -14200
- nulara-0.2.0/src/nulara/core/__init__.py +0 -1
- nulara-0.2.0/src/nulara/core/client.py +0 -574
- nulara-0.2.0/src/nulara/core/config.py +0 -527
- nulara-0.2.0/src/nulara/core/describe.py +0 -196
- nulara-0.2.0/src/nulara/core/direct.py +0 -1157
- nulara-0.2.0/src/nulara/core/engine.py +0 -62
- nulara-0.2.0/src/nulara/core/errors.py +0 -108
- nulara-0.2.0/src/nulara/core/main.py +0 -787
- nulara-0.2.0/src/nulara/core/oauth.py +0 -750
- nulara-0.2.0/src/nulara/core/openapi.py +0 -621
- nulara-0.2.0/src/nulara/core/render.py +0 -44
- nulara-0.2.0/src/nulara/core/skill.py +0 -89
- nulara-0.2.0/src/nulara/core/thread.py +0 -230
- nulara-0.2.0/src/nulara/core/tokens.py +0 -115
- {nulara-0.2.0 → nulara-0.3.0}/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nulara
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Nulara command-line access
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
License-File: LICENSE
|
|
@@ -9,11 +9,7 @@ Classifier: Operating System :: MacOS
|
|
|
9
9
|
Classifier: Operating System :: POSIX :: Linux
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.14
|
|
12
|
-
Requires-Dist:
|
|
13
|
-
Requires-Dist: httpx>=0.28,<1
|
|
14
|
-
Requires-Dist: keyring>=25.7,<26
|
|
15
|
-
Requires-Dist: rich>=15,<16
|
|
16
|
-
Requires-Dist: tldextract>=5.3,<6
|
|
12
|
+
Requires-Dist: xiii-cli-core>=0.1.0,<0.2
|
|
17
13
|
Requires-Python: >=3.14, <3.15
|
|
18
14
|
Project-URL: Homepage, https://nulara.de
|
|
19
15
|
Project-URL: Documentation, https://nulara.de/cli
|
|
@@ -102,7 +98,6 @@ the values of sensitive fields replaced by `<redacted>`.
|
|
|
102
98
|
| 3 | `authentication_error` | No token, or the API rejected it (401) |
|
|
103
99
|
| 4 | `authorization_error` | The token may not do this (403) |
|
|
104
100
|
| 5 | `api_error` | Any other API error response |
|
|
105
|
-
| 6 | `operation_error` | The operation catalog is unusable |
|
|
106
101
|
| 7 | `thread_protocol_error` | The agent stream broke its protocol |
|
|
107
102
|
| 8 | `thread_expectation_error` | An agent run missed an expectation |
|
|
108
103
|
| 9 | `usage_error` | The command line did not parse |
|
|
@@ -128,11 +123,12 @@ with the CLI and without signing in; `nulara describe` lists the modules and
|
|
|
128
123
|
|
|
129
124
|
## Layout
|
|
130
125
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
generated from the app API's OpenAPI document; it is never edited by
|
|
126
|
+
The product-neutral core is the package
|
|
127
|
+
[`xiii-cli-core`](https://github.com/xiii-hq/xiii-cli-core): `nulara`
|
|
128
|
+
builds a `xiii_cli_core.config.Product` (name, API, OAuth client, command
|
|
129
|
+
manifest) and hands it to `xiii_cli_core.main.build_app`. `src/nulara/spec.json` is the command
|
|
130
|
+
manifest, generated from the app API's OpenAPI document; it is never edited by
|
|
131
|
+
hand.
|
|
136
132
|
|
|
137
133
|
## Development
|
|
138
134
|
|
|
@@ -79,7 +79,6 @@ the values of sensitive fields replaced by `<redacted>`.
|
|
|
79
79
|
| 3 | `authentication_error` | No token, or the API rejected it (401) |
|
|
80
80
|
| 4 | `authorization_error` | The token may not do this (403) |
|
|
81
81
|
| 5 | `api_error` | Any other API error response |
|
|
82
|
-
| 6 | `operation_error` | The operation catalog is unusable |
|
|
83
82
|
| 7 | `thread_protocol_error` | The agent stream broke its protocol |
|
|
84
83
|
| 8 | `thread_expectation_error` | An agent run missed an expectation |
|
|
85
84
|
| 9 | `usage_error` | The command line did not parse |
|
|
@@ -105,11 +104,12 @@ with the CLI and without signing in; `nulara describe` lists the modules and
|
|
|
105
104
|
|
|
106
105
|
## Layout
|
|
107
106
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
generated from the app API's OpenAPI document; it is never edited by
|
|
107
|
+
The product-neutral core is the package
|
|
108
|
+
[`xiii-cli-core`](https://github.com/xiii-hq/xiii-cli-core): `nulara`
|
|
109
|
+
builds a `xiii_cli_core.config.Product` (name, API, OAuth client, command
|
|
110
|
+
manifest) and hands it to `xiii_cli_core.main.build_app`. `src/nulara/spec.json` is the command
|
|
111
|
+
manifest, generated from the app API's OpenAPI document; it is never edited by
|
|
112
|
+
hand.
|
|
113
113
|
|
|
114
114
|
## Development
|
|
115
115
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "nulara"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.3.0"
|
|
4
4
|
description = "Nulara command-line access"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -14,11 +14,7 @@ classifiers = [
|
|
|
14
14
|
"Programming Language :: Python :: 3.14",
|
|
15
15
|
]
|
|
16
16
|
dependencies = [
|
|
17
|
-
"
|
|
18
|
-
"httpx>=0.28,<1",
|
|
19
|
-
"keyring>=25.7,<26",
|
|
20
|
-
"rich>=15,<16",
|
|
21
|
-
"tldextract>=5.3,<6",
|
|
17
|
+
"xiii-cli-core>=0.1.0,<0.2",
|
|
22
18
|
]
|
|
23
19
|
|
|
24
20
|
[project.urls]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
from importlib.metadata import version
|
|
2
2
|
from importlib.resources import files
|
|
3
3
|
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from xiii_cli_core.config import Product, Surface
|
|
5
|
+
from xiii_cli_core.main import build_app, run
|
|
6
6
|
|
|
7
7
|
PRODUCT = Product(
|
|
8
8
|
name="nulara",
|
|
@@ -47,7 +47,6 @@ user signed in to; `--workspace <name>` overrides it for one command.
|
|
|
47
47
|
| 3 | `authentication_error` | Ask the user to run `nulara login` |
|
|
48
48
|
| 4 | `authorization_error` | The user or key lacks the right; tell the user |
|
|
49
49
|
| 5 | `api_error` | The API refused; `code` names why, `detail` has the fields |
|
|
50
|
-
| 6 | `operation_error` | The operation catalog is unusable |
|
|
51
50
|
| 7, 8 | `thread_*` | The workspace agent's stream failed |
|
|
52
51
|
| 9 | `usage_error` | The command line was wrong; check `describe` |
|
|
53
52
|
| 10 | `network_error` | The API was unreachable; retry later |
|