Skip to main content

Linkworld CLI — develop and deploy apps to the Linkworld Open App Platform. 0.10.0: linkworld doctor + linkworld lint (LWP007) catch @app.tool decorators that aren't mirrored in manifest.tools[] — the silent reason chat-tool calls die with 'tool unavailable'.

Project description

linkworld CLI

Develop and deploy apps to the Linkworld Open App Platform.

Status: 0.x alpha. Phase 2 of the open-platform rollout. The CLI wraps a Python SDK and the platform's /api/dev/* endpoints.

Install

pip install linkworld

Quickstart

# 1. Get a dev session token from a Linkworld admin (M11 will replace
#    this step with GitHub OAuth device flow).
linkworld login --token <jwt>

# 2. Scaffold a new app
linkworld init my-tax-bot --github-owner my-github-username
cd my-tax-bot

# 3. Edit linkworld.app.yaml + main.py to taste
#    Run locally:
pip install -r requirements.txt
LINKWORLD_LOCAL=1 python main.py

# 4. Deploy. Either tag and let CI handle it:
git tag v0.1.0 && git push --tags

# Or push and register manually:
docker build -t ghcr.io/my-github-username/my-tax-bot:0.1.0 .
docker push ghcr.io/my-github-username/my-tax-bot:0.1.0
linkworld deploy --skip-build

Commands

linkworld login --token <jwt> Save credentials to ~/.linkworld/config.toml
linkworld whoami Show the logged-in dev account
linkworld logout Discard credentials
linkworld init <slug> Scaffold a new app project
linkworld deploy Build + push image, register version with platform
linkworld apps list List your apps
linkworld apps show <slug> App details + version history
linkworld secrets ... Manage app-scoped secrets (coming with M7)

Configuration

~/.linkworld/config.toml:

[platform]
api_url = "https://api.linkworld.ai"

[auth]
token = "<jwt>"

Override via environment:

  • LINKWORLD_API_URL — platform endpoint (default https://api.linkworld.ai)
  • LINKWORLD_TOKEN — overrides the token in the config file (useful in CI)

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linkworld-0.10.0.tar.gz (112.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linkworld-0.10.0-py3-none-any.whl (119.3 kB view details)

Uploaded Python 3

File details

Details for the file linkworld-0.10.0.tar.gz.

File metadata

  • Download URL: linkworld-0.10.0.tar.gz
  • Upload date:
  • Size: 112.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for linkworld-0.10.0.tar.gz
Algorithm Hash digest
SHA256 02336c6c0ce07ec41734e346ad0df59f843b8ef0bfa3b87d050a159db303f618
MD5 e3e251f00f5954c60abc48143611c1e7
BLAKE2b-256 298e38a9cee3d2e253f04bcc9c1d1b9d87bde9ee6e5d51ee65b9f7be79ae9f4a

See more details on using hashes here.

File details

Details for the file linkworld-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: linkworld-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 119.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for linkworld-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 928acaee9c0197c1e4ada2326207fd13b55794ab2bc29778b4bae376d11e084d
MD5 6ae1aa2e83c59d1c4bf297aa8697853d
BLAKE2b-256 741d070aa1af36657dfa13eeea919eb9242480fead9b18b0f1f14d5edf572441

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page