CLI Release Notes
2.0.2
Introduced
eai user membershipcommand to display a user’s role and team affiliations.Expanded examples for the redesigned
eai servicecommand
2.0.1
Fix URL encoding: don’t use double escape for the query filters. Add
newparser=1to tell to the backend to not try to unescape twice time.Add
eai service updatecommand to update service jobspec
2.0.0
Added
--all-replica-rankflag toeai job lsto list any replica rank jobAdded duplicate environment variable detection and warning in job creation
Updated fonts for agent response
1.13.4
Add AI Toolkit Assistant to Toolkit CLI (
eai agent)
1.13.3
Bug fix for policy creation
1.13.2
Improved policy creation by adding support for
fullNameandresourceIdalong withurnPolicy expressions broken down into two columns: Resource and Cascades (Indicating if policy cascades to child resources)
Simplified
policy lsresponse by addingfullNameinstead of UUIDs.Use
--no-human-readableflag to get UUIDs instead of human-readable full names.
1.13.0
Add sub-commands
deactivateandreactivateon the Toolkit resourcesAdd CLI flag
--include-deactivatedto be able to list deactivated resourcesUse session affinity for the HTTP client of the CLI: Solve issue with data push returning
data: bad request: no chunk foundAdd CLI flag
--expirationand--durationon the commandeai role key new <roleID>. Add created, creator and expiration oneai role key ls <roleID>
1.12.2
Use lock file located at ~/.eai/credentils.profileName.lock to prevent disconnection when multiple CLI binary processes tries to refresh the token in parallel.
1.12.1
Update filter & order validations flow for ls commands (account,app,data,organization,privateregistry,role,service,team,user).
1.12.0
Added
--account, --created, --creator, --fullName, --mail, --name, --owner, --ownerInherited, --port , --statusflags to let users filter on ls commands (account,app,data,organization,privateregistry,role,service,team,user).Added
--orderflag to let users order the result of ls commands (account,app,data,organization,privateregistry,role,service,team,user).
1.11.1
Add support for environment having aarch64 architecture
1.11.0
Added
--replicasflag foreai job newto let users create replica jobs.Added
--replica-jobsflag foreai job lsto let users view replica jobs.Added support to fetch and delete replica jobs via the new CLI command
eai replica-jobs.Added
--verboseflag foreai proxyto print each request made through the proxy.
1.10.6
Fix
invalid cross-device linkissue for CLI configuration file handling.Fix 404 on
eai job execandeai job logsfor Superpod.
1.10.5
Fix corrupted CLI configuration file when there are multiple writing at the same time.
Fix disconnection on
eai job execandeai job logswhen there is no activity for 5 minutes (timeout).Fix error message on
eai data subCommandwhen the user is not logged anymore.
1.10.4
Added new flag
--enforce-nameoneai job newto rename the job if another job exists with the same name by appending the unix timestamp to the give name
1.10.3
Integrated
eai docker configurebehavior intoeai loginandeai profileDeprecated
eai docker configure
1.10.2
CLI had 3 calls to get the Toolkit configuration:
Reduce to 2 calls only
Add 90 minutes caching on one call
Enhanced error message in case of invalid or expired token
1.10.1
Fix for
eai --profile profileName login
1.10.0
Add new flag
--accountoneai user setto allow user to update their default account.Example of
--accountflag:
eai user set b8423ebc-a456-11ea-bb37-0242ac130002 --account snow.project_accountAdd new new sub-commands for
profileto allow user to add(add), remove(rm), list(ls), rename(set) profiles or set their default profile.Examples of sub-commands:
list:
eai profile lsremove:
eai profile rm <name>add:
eai profile add <name> <url>set as default:
eai profile set <name> --defaultrename:
eai profile set <currentName> --name <newName>
1.9.5
Fix build architecture name used when building for M1/M2
1.9.4
Fix CLI build to have a proper version
1.9.2
Update
registrycommand toprivateregistry=>eai privateregistry [command]
1.9.1
Fix “eai upgrade” to download CLI using binary architecture
1.9.0
Add build for ARM64 on Mac to support Mac M1 & M2
Add new fields
owner&ownerInherited. These new fields will help Toolkit team to have information about people who is managing job & data for each account. If an user is removed from Toolkit, theownerfield will be empty and a new owner will be needed. This account owner will receive our notification about data storage, idle jobs, …ownerInheritedis automatically filled with theownervalue of the closest parent. That means filling theownervalue for an account will fill theownerInheritedvalue for the account, and all jobs, roles and data in the account.Update sub-commands
newandsetto define owner for resources:account,app,data,organization,registry,role,team,user.Example to define
ownerfield:New account with owner:
eai account new --owner random.user@servicenow.com snow.ai_projetUpdating owner of an account:
eai account set --owner random.user@servicenow.com snow.ai_projet
Important change: In the future, to submit a job in an account, an owner will be needed on the account.
User accounts were automatically updated to set the owner.
This change doesn’t impact jobs already submitted.
1.8.0
Add command
eai resource get [<id>...|<fullName>...]to get Resource details,idorfullNameis mandatory
1.7.3
Add subcommand
storeto do nothing fordocker-credential-eai: Fix errorstore command not foundwhen callingdocker login -y xxx -p yyy toolkit-registry
1.7.2
Fix CLI crash when a profile doesn’t exist
1.7.1
Add example to
eai data size -h
1.7.0
Add command
eai data size [<id>...|<orgName.accName.dataName>...]to calculate Data Size,idororgName.accName.dataNameis optionalAdd command
eai account size [<id>...|<orgName.accName>...]to calculate Account Size,idoraccName.dataNameis optionalAdd command
eai organization size [<id>|<orgName>]to calculate Organization Size,idororgNameis mandatoryUpgrade chisel to 1.8.1 for port-forwarding
1.6.2
Fix data pull when using space
1.6.1
Fix returning an error status code from
job killandretrywhen they fail
1.6.0
Upgrade golang version from
1.15to1.19Fix issues reported by
staticchecktool
1.5.0
Add flags
--network-isolationand--infinibandtoeai job new
1.4.0
Enable
alphabitsflag ineai job newfor specifying network isolation
1.3.0
Add debugging features to
policy lscommandAdd fields
creatorandcreatedtoeai (role|team|user) policy lsAdd
--include-inactiveflag toeai (role|team|user) policy lsto include inactive policies, like expired policiesAdd
--recursiveflag toeai user policy lsto list all policies applicable to user, including via roles and teams, and prepend some details to the policy id about how it applies to the user (this replaceseai rule ls)
Deprecate
eai rule lswith a deprecation message guiding the user towardseai user policy ls --recursiveMake branch name optional for
eai data content treeandeai data content rm, defaulting tolatestAdd example to
eai data content ls --helpwith--pathflagAdd warning to use
eai data content lsinstead ofeai data ls
1.2.0
Support
--recursiveflag to explore accounts recursively inlscommands, for exampleeai account ls org --recursivewould listorg.a,org.a.bandorg.a.b.ceai account ls org.a --recursivewould listorg.a.bandorg.a.b.ceai data ls org.a --recursivewould listorg.a.data,org.a.b.dataandorg.a.b.c.dataeai role ls org.a --recursivewould listorg.a.role,org.a.b.roleandorg.a.b.c.role
Show id-based access URL if job’s full name exceeds the 63 character limit for a valid URL subdomain label
Add examples to
eai role policy new --help, namely with--shareable,--expirationand--durationflags
1.1.2
Fix
eai data push <id> .with dotfiles present directly in working directory
1.1.1
Fix nil pointer dereference when pushing data with
--verbose
1.1.0
Add
eai rule who-is-allowed
1.0.0
Breaking change: Make
eai job getexactly like the othergetcommandsSupport
--formatflag defaulting totableand--fieldflag to customize the columnsBreaking previous YAML output as an alias to
eai job info(which stays intact)
Enhance
rolecommand when nested under the parent kindRaise full name ambiguity with parent kind for
eai (account|team) role ...Support personal organization/account as default parent for
eai (organization|account) role new [<name>]
Provide link to the release notes
of the latest version when an upgrade is available or when running
eai upgrade --checkof the version installed when running
eai upgradeoreai --version
0.10.0
Clean up commands that have been deprecated for a while
Add
--detailsineai role key newFix zsh completion
Move command
allowedunderruleFix
eai datanot in help and completionExtend completion to dynamically complete the full names of resources
0.9.67
Fix
eai data chownwhen specifying destination account by full name
0.9.66
Add support for changing ownership of a data
eai data chown
0.9.59
Support setting empty values like an empty name (
set --name "") or an empty list of tags (set --tag "")Standardize support for multiple args
Support multiple args in all
getandrmcommandsSupport only 1 arg in
setcommands, being optional when there is a relevant default
0.9.58
Add –field flag, an alias to –fields, except it sets –no-header automatically when there is only one field in the table format
0.9.56
Fix
job newcommand when specifying-f/--filein combination with other flagsSupport to add/rm multiple role/team members at once
Support creating role/team with members
Deprecate creating multiple new teams, and support empty org and name
0.9.50
Deprecate
--tagsin favor of--tagindata newandsetcommandsFix
jobcommands help
0.9.49
Fix reporting errors during
eai job ls
0.9.48
Data sync : change pull/push to from/to-object-storage
Add –shareable & –expiration flag on policy command
Add registry command to add credentials for private registry
0.9.47
Support subdomains in
eai proxy. For example:localhost:8080/subdomain/registry/v2/_catalog->registry.console.elementai.com/v2/_cataloglocalhost:8080/subdomain/data-labeller/api/tasks->data-labeller.console.elementai.com/api/tasks
0.9.46
Fix
Ctrl+Cduringeai job log -fandeai job exec
0.9.45
Add
--tailoption to job logs
0.9.44
Deployment update
0.9.43
Restore eai data ls deprecated commands
0.9.42
Add warning messages in deprecated commands (
eai data ls)
0.9.41
Reorganize some data commands:
Split
data lsinto subcommands:eai data ls: list data under an accounteai data branch ls: list all branches of a dataeai data content ls: list all files in a specific version of a data
Move
eai data treeandeai data rmundereai data content treeandeai data content rmLimit
eai data treeto 8192 itemsCreate subcommands for
eai data branch:eai data branch ls: list all branches of a dataeai data branch add: create a new branch for a data
Add details on
eai data content lscommand (size, status, creation date, modification date)Add support for different output on
eai data content lscommand: json, csv, table, text.
0.9.40
When submitting a new job with
--from-idor--fileSupport overwriting job type
Remove wrong warning message when not overwriting job type
0.9.39
Error out if multiple conflicting job types are specified
0.9.38
Add non-preemptable flag and warn the user when it’s not specified
0.9.37
Fix access job root (without a path) via eai proxy
Add eai data new –sync flag to sync data, if allowed
0.9.31
Remove obsolete commands
0.9.30
Fix data ls
0.9.29
Clean up some flags that had been deprecated back in 0.8.13 and 0.8.14
Standardize usage of data@version
Add data sync command
Fix data ls without argument
0.9.28
Fix and standardize data commands help
0.9.27
Make
account setid default to personal account, likeaccount get.Fix
docker configureon Windows.
0.9.26
Create new command to check if an action is allowed, optionally for a given subject user, team or role. (
eai allowed [<subject>] <action>@<resource>)
0.9.25
Fix
eai data newwithout parameter.Clarify member add/rm usage message.
Add examples for user get and set mentioning email.
Add alias add to policy new.
0.9.24
Include port in credHelpers host key
Add information about EAI_PROFILE behavior.
0.9.23
Data : Add remove content function
0.9.22
Remove body on GET request for tree listing
0.9.21
Fix login for mkdir ~/.eai on windows
0.9.20
Add support for windows path during data push
0.9.19
Fix regression Tags fields in yaml format should be
keyandvalueas documented.
0.9.18
Fix login on Windows
Data ls : Add support of fields flag when listing version of a data (
eai data ls --fields id,name,version,branch)Data ls : Add state of a data in available field (
eai data ls --fields version,branch,state)- Data pushAdd state in extraction phase of a push request and make it asynchronous.
the command does not need to run during the extraction phase, the state of the extraction will be available in data ls command as well
0.9.17
Add command
eai login tokenFix path usage for Windows
0.9.16
- Add
--scopescommand ineai job new This option is useful for jobs which start a server and want to use the caller permission to make some call as the user. When a user went for the first time on the job via HTTP (jobID.job.console.elementai.com), it will be ask to consent (or not) to the scopes.
- Add
Add command
eai job consentto consent to scopes of a job