systemlink-cli 1.4.4__tar.gz → 1.4.5__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.
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/PKG-INFO +1 -1
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/pyproject.toml +1 -1
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/_version.py +1 -1
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/skills/systemlink-webapp/SKILL.md +44 -31
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/LICENSE +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/dff-editor/editor.js +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/dff-editor/index.html +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/__init__.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/__main__.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/asset_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/cli_formatters.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/cli_utils.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/comment_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/completion_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/config.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/config_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/dff_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/dff_decorators.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/example_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/example_loader.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/example_provisioner.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/README.md +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/_schema/schema-v1.0.json +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/demo-complete-workflow/README.md +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/demo-complete-workflow/config.yaml +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/demo-test-plans/README.md +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/demo-test-plans/config.yaml +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/exercise-5-1-parametric-insights/README.md +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/exercise-5-1-parametric-insights/config.yaml +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/exercise-7-1-test-plans/README.md +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/exercise-7-1-test-plans/config.yaml +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/spec-compliance-notebooks/README.md +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/spec-compliance-notebooks/config.yaml +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/spec-compliance-notebooks/notebooks/SpecAnalysis_ComplianceCalculation.ipynb +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/spec-compliance-notebooks/notebooks/SpecComplianceCalculation.ipynb +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/spec-compliance-notebooks/notebooks/SpecfileExtractionAndIngestion.ipynb +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/spec-compliance-notebooks/spec_template.xlsx +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/feed_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/file_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/function_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/function_templates.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/main.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/mcp_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/mcp_server.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/notebook_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/platform.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/policy_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/policy_utils.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/profiles.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/response_handlers.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/routine_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/skill_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/skills/slcli/SKILL.md +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/skills/slcli/references/analysis-recipes.md +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/skills/slcli/references/filtering.md +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/skills/systemlink-webapp/references/deployment.md +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/skills/systemlink-webapp/references/nimble-angular.md +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/skills/systemlink-webapp/references/systemlink-services.md +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/ssl_trust.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/system_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/table_utils.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/tag_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/templates_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/testmonitor_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/universal_handlers.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/user_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/utils.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/web_editor.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/webapp_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/workflow_preview.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/workflows_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/workitem_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/workspace_click.py +0 -0
- {systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/workspace_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "systemlink-cli"
|
|
3
|
-
version = "1.4.
|
|
3
|
+
version = "1.4.5"
|
|
4
4
|
description = "SystemLink Integrator CLI - cross-platform CLI for SystemLink workflows and templates."
|
|
5
5
|
authors = ["Fred Visser <fred.visser@emerson.com>"]
|
|
6
6
|
packages = [{ include = "slcli" }]
|
|
@@ -58,22 +58,23 @@ npm install @ni/systemlink-clients-ts
|
|
|
58
58
|
|
|
59
59
|
### Available services (import paths)
|
|
60
60
|
|
|
61
|
-
| Service | Import path | `baseUrl`
|
|
62
|
-
|
|
63
|
-
| Feeds | `@ni/systemlink-clients-ts/feeds` |
|
|
64
|
-
| Tags | `@ni/systemlink-clients-ts/tags` |
|
|
65
|
-
| User / Workspaces | `@ni/systemlink-clients-ts/user` |
|
|
66
|
-
| Web Application | `@ni/systemlink-clients-ts/web-application` |
|
|
67
|
-
| File Ingestion | `@ni/systemlink-clients-ts/file-ingestion` |
|
|
68
|
-
| Test Monitor | `@ni/systemlink-clients-ts/test-monitor` |
|
|
69
|
-
| Asset Management | `@ni/systemlink-clients-ts/asset-management` |
|
|
70
|
-
| Work Items | `@ni/systemlink-clients-ts/work-item` |
|
|
71
|
-
|
|
|
72
|
-
|
|
|
61
|
+
| Service | Import path | Client `baseUrl` |
|
|
62
|
+
|---------|-------------|------------------|
|
|
63
|
+
| Feeds | `@ni/systemlink-clients-ts/feeds` | `window.location.origin` |
|
|
64
|
+
| Tags | `@ni/systemlink-clients-ts/tags` | `window.location.origin + '/nitag'` |
|
|
65
|
+
| User / Workspaces | `@ni/systemlink-clients-ts/user` | `window.location.origin + '/niuser/v1'` |
|
|
66
|
+
| Web Application | `@ni/systemlink-clients-ts/web-application` | `window.location.origin + '/niapp/v1'` |
|
|
67
|
+
| File Ingestion | `@ni/systemlink-clients-ts/file-ingestion` | `window.location.origin + '/nifile'` |
|
|
68
|
+
| Test Monitor | `@ni/systemlink-clients-ts/test-monitor` | `window.location.origin + '/nitestmonitor'` |
|
|
69
|
+
| Asset Management | `@ni/systemlink-clients-ts/asset-management` | `window.location.origin` |
|
|
70
|
+
| Work Items | `@ni/systemlink-clients-ts/work-item` | `window.location.origin` |
|
|
71
|
+
| Work Orders | `@ni/systemlink-clients-ts/work-order` | `window.location.origin` |
|
|
72
|
+
| Systems Management | `@ni/systemlink-clients-ts/systems-management` | `window.location.origin` |
|
|
73
|
+
| Notebooks | `@ni/systemlink-clients-ts/notebook` | `window.location.origin` |
|
|
73
74
|
|
|
74
75
|
The client factory for each service lives at `@ni/systemlink-clients-ts/<service>/client`.
|
|
75
76
|
|
|
76
|
-
> **Base URL gotcha:**
|
|
77
|
+
> **Base URL gotcha:** Verify the generated operation URLs, not just the service name. In the published `@ni/systemlink-clients-ts` package, `tags` uses `/v2/...` with `baseUrl: origin + '/nitag'`, `user` uses `/users` and `/workspaces` with `baseUrl: origin + '/niuser/v1'`, `web-application` uses `/webapps/...` with `baseUrl: origin + '/niapp/v1'`, `file-ingestion` uses `/v1/...` with `baseUrl: origin + '/nifile'`, and `test-monitor` uses `/v2/...` with `baseUrl: origin + '/nitestmonitor'`. Services like `feeds`, `asset-management`, `systems-management`, `work-item`, `work-order`, and `notebook` already include `/nifeed`, `/niapm`, `/nisysmgmt`, `/niworkitem`, `/niworkorder`, or `/ninotebook` in each operation path, so those clients should use `baseUrl: window.location.origin`.
|
|
77
78
|
|
|
78
79
|
> **SDK type mismatch fallback:** If a generated SDK function causes `InputFieldValidationError`, verify the actual request body the server expects with a raw `curl` POST. Sometimes the generated types wrap the body in a `{ request: { ... } }` envelope that the server does not accept (or expect a flat body the type shows as nested). Use direct `fetch` with a manually constructed body as a reliable fallback when the SDK types are wrong.
|
|
79
80
|
|
|
@@ -390,10 +391,18 @@ const { data, error } = await buildClient().post<MyResponse, unknown>({
|
|
|
390
391
|
Always compute the base URL from `window.location.origin` — never hardcode a hostname:
|
|
391
392
|
|
|
392
393
|
```typescript
|
|
393
|
-
const
|
|
394
|
-
const
|
|
395
|
-
const
|
|
396
|
-
const
|
|
394
|
+
const tagsBaseUrl = `${window.location.origin}/nitag`; // tags.js -> /v2/...
|
|
395
|
+
const userBaseUrl = `${window.location.origin}/niuser/v1`; // user.js -> /users, /workspaces
|
|
396
|
+
const webAppBaseUrl = `${window.location.origin}/niapp/v1`; // web-application.js -> /webapps/...
|
|
397
|
+
const fileIngestionBaseUrl = `${window.location.origin}/nifile`; // file-ingestion.js -> /v1/...
|
|
398
|
+
const testMonitorBaseUrl = `${window.location.origin}/nitestmonitor`; // test-monitor.js -> /v2/...
|
|
399
|
+
|
|
400
|
+
const feedsBaseUrl = window.location.origin; // feeds.js -> /nifeed/v1/...
|
|
401
|
+
const assetBaseUrl = window.location.origin; // asset-management.js -> /niapm/v1/...
|
|
402
|
+
const systemsBaseUrl = window.location.origin; // systems-management.js -> /nisysmgmt/v1/...
|
|
403
|
+
const workItemBaseUrl = window.location.origin; // work-item.js -> /niworkitem/v1/...
|
|
404
|
+
const workOrderBaseUrl = window.location.origin; // work-order.js -> /niworkorder/v1/...
|
|
405
|
+
const notebookBaseUrl = window.location.origin; // notebook.js -> /ninotebook/v1/...
|
|
397
406
|
```
|
|
398
407
|
|
|
399
408
|
### Authentication
|
|
@@ -647,8 +656,8 @@ Save the returned webapp ID — you'll need it for every subsequent redeploy.
|
|
|
647
656
|
| CSP `unsafe-inline` error | Beasties injects `onload` in style tags | `inlineCritical: false` in angular.json optimization |
|
|
648
657
|
| App stays light inside dark SystemLink shell | Theme-aware aliases defined on `:root` or embedded app not watching host provider | Define color/shadow aliases on `nimble-theme-provider`; sync `currentTheme` from parent provider |
|
|
649
658
|
| `theme="dark"` is set but colors still look light | Checked the attribute only, not the resolved tokens | Inspect `getComputedStyle(themeProvider).getPropertyValue('--ni-nimble-application-background-color')` in the hosted iframe |
|
|
650
|
-
| CORS / status 0 | `
|
|
651
|
-
| 404 on API calls |
|
|
659
|
+
| CORS / status 0 | `baseUrl` points to the wrong origin or wrong service root | Match the generated client: for example `test-monitor` uses `${window.location.origin}/nitestmonitor`, while `work-item` uses `window.location.origin` |
|
|
660
|
+
| 404 on API calls | Wrong `baseUrl` for the selected client | Only `tags`, `user`, `web-application`, `file-ingestion`, and `test-monitor` need a prefixed `baseUrl`. `feeds`, `asset-management`, `systems-management`, `work-item`, `work-order`, and `notebook` use bare origin because their operation URLs already include the service prefix |
|
|
652
661
|
| `InputFieldValidationError` on API call | SDK-generated request body has wrong shape | Inspect raw API; the generated type may add or omit a `request: {}` wrapper. Use direct `fetch` with manually constructed body |
|
|
653
662
|
| nimble-dialog does not open | `*ngIf` destroys element before `ViewChild` can resolve | Remove `*ngIf` from the dialog element; use `@ViewChild` + `ElementRef` and call `nativeElement.show()` / `nativeElement.close()` |
|
|
654
663
|
| Icon module import fails | Icon sub-path `@ni/nimble-angular/icons/...` does not exist | Import icon modules from the main `@ni/nimble-angular` barrel only |
|
|
@@ -670,18 +679,22 @@ If the host and iframe are same-origin, Playwright or DevTools can inspect `ifra
|
|
|
670
679
|
|
|
671
680
|
---
|
|
672
681
|
|
|
673
|
-
## Known SystemLink
|
|
674
|
-
|
|
675
|
-
| Service |
|
|
676
|
-
|
|
677
|
-
| Tag Historian |
|
|
678
|
-
|
|
|
679
|
-
|
|
|
680
|
-
|
|
|
681
|
-
|
|
|
682
|
-
|
|
|
683
|
-
|
|
|
684
|
-
|
|
|
682
|
+
## Known SystemLink client base URLs
|
|
683
|
+
|
|
684
|
+
| Service | Client `baseUrl` |
|
|
685
|
+
|---------|------------------|
|
|
686
|
+
| Tag Historian | `window.location.origin + '/nitaghistorian'` |
|
|
687
|
+
| Tags | `window.location.origin + '/nitag'` |
|
|
688
|
+
| User / Workspaces | `window.location.origin + '/niuser/v1'` |
|
|
689
|
+
| Web Application | `window.location.origin + '/niapp/v1'` |
|
|
690
|
+
| File Ingestion | `window.location.origin + '/nifile'` |
|
|
691
|
+
| Test Monitor | `window.location.origin + '/nitestmonitor'` |
|
|
692
|
+
| Asset Management | `window.location.origin` |
|
|
693
|
+
| Systems Management | `window.location.origin` |
|
|
694
|
+
| Work Items | `window.location.origin` |
|
|
695
|
+
| Work Orders | `window.location.origin` |
|
|
696
|
+
| Feeds (Package Manager) | `window.location.origin` |
|
|
697
|
+
| Notebooks | `window.location.origin` |
|
|
685
698
|
|
|
686
699
|
See `references/systemlink-services.md` for full API details.
|
|
687
700
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/demo-complete-workflow/README.md
RENAMED
|
File without changes
|
{systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/demo-complete-workflow/config.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/exercise-7-1-test-plans/README.md
RENAMED
|
File without changes
|
{systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/exercise-7-1-test-plans/config.yaml
RENAMED
|
File without changes
|
{systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/spec-compliance-notebooks/README.md
RENAMED
|
File without changes
|
{systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/examples/spec-compliance-notebooks/config.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{systemlink_cli-1.4.4 → systemlink_cli-1.4.5}/slcli/skills/slcli/references/analysis-recipes.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|